Directly run rustfmt on the file, with `rustfmt foo.rs`. you may need to
install it with `rustup component add rustfmt`
On Thu, Nov 8, 2018, 6:50 PM Avanthikaa Ravichandran We are working on the media crate for servo and we were asked to run the
> rustfmt to format the code. However, in the
We are working on the media crate for servo and we were asked to run the
rustfmt to format the code. However, in the servo/media repo that we worked
on, we cannot run the ./mach command. Are we expected to integrate it with
the main servo repository? How do we run rustfmt on our file otherwise?
2 matches
Mail list logo