Skip to content

Commit 6872e94

Browse files
authored
update rustfix link in docs (rust-lang#14248)
Since `rustfix` was moved to `@rust-lang/cargo`, the old link may be confusing for readers. changelog: none r? flip1995
2 parents 48fffe7 + 939429a commit 6872e94

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

book/src/development/adding_lints.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ from the lint to the code of the test file and compare that to the contents of a
169169
Use `cargo bless` to automatically generate the `.fixed` file while running
170170
the tests.
171171

172-
[rustfix]: https://github.com/rust-lang/rustfix
172+
[rustfix]: https://github.com/rust-lang/cargo/tree/master/crates/rustfix
173173

174174
## Testing manually
175175

book/src/development/writing_tests.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ We'll talk about suggestions more in depth in a [later chapter](emitting_lints.m
203203
Use `cargo bless` to automatically generate the `.fixed` file after running
204204
the tests.
205205

206-
[`rustfix`]: https://github.com/rust-lang/rustfix
206+
[`rustfix`]: https://github.com/rust-lang/cargo/tree/master/crates/rustfix
207207
[`span_lint_and_sugg`]: https://doc.rust-lang.org/beta/nightly-rustc/clippy_utils/diagnostics/fn.span_lint_and_sugg.html
208208

209209
## Testing Manually

0 commit comments

Comments
 (0)