Skip to content

Commit b11232e

Browse files
committed
update
1 parent 3c01099 commit b11232e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Contributing.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ To run `rustfmt` on a file:
103103
cargo run --bin rustfmt -- path/to/file.rs
104104
```
105105

106-
If you want to test modified `cargo-fmt`, or run `rustfmt` on the whole project:
106+
If you want to test modified `cargo-fmt`, or run `rustfmt` on the whole project (You may need to build rustfmt first):
107107

108108
```
109-
cargo build --bin rustfmt && RUSTFMT="./target/debug/rustfmt" cargo run --bin cargo-fmt -- --manifest-path path/to/project/you/want2test/Cargo.toml
109+
RUSTFMT="./target/debug/rustfmt" cargo run --bin cargo-fmt -- --manifest-path path/to/project/you/want2test/Cargo.toml
110110
```
111111

112112
### Version-gate formatting changes

0 commit comments

Comments
 (0)