Skip to content

Commit

Permalink
update rustfix link in docs (#14248)
Browse files Browse the repository at this point in the history
Since `rustfix` was moved to `@rust-lang/cargo`, the old link may be
confusing for readers.

changelog: none

r? flip1995
  • Loading branch information
flip1995 authored Feb 19, 2025
2 parents 48fffe7 + 939429a commit 6872e94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion book/src/development/adding_lints.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ from the lint to the code of the test file and compare that to the contents of a
Use `cargo bless` to automatically generate the `.fixed` file while running
the tests.

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

## Testing manually

Expand Down
2 changes: 1 addition & 1 deletion book/src/development/writing_tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ We'll talk about suggestions more in depth in a [later chapter](emitting_lints.m
Use `cargo bless` to automatically generate the `.fixed` file after running
the tests.

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

## Testing Manually
Expand Down

0 comments on commit 6872e94

Please sign in to comment.