diff options
| author | Philipp Krones <hello@philkrones.com> | 2025-02-19 09:02:00 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-19 09:02:00 +0000 |
| commit | 6872e94f11e76943aed21fe0eda746e2d8909cb3 (patch) | |
| tree | 5efb584ec4f9eed98448560d835cb1a2f535a6be | |
| parent | 48fffe7db336476581d7fad1c9219ef59145300a (diff) | |
| parent | 939429a8b98b98d7a8f942f8e55b6b3639865497 (diff) | |
update `rustfix` link in docs (#14248)
Since `rustfix` was moved to `@rust-lang/cargo`, the old link may be confusing for readers. changelog: none r? flip1995
| -rw-r--r-- | book/src/development/adding_lints.md | 2 | ||||
| -rw-r--r-- | book/src/development/writing_tests.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/book/src/development/adding_lints.md b/book/src/development/adding_lints.md index 48506127dee..60135e96c5a 100644 --- a/book/src/development/adding_lints.md +++ b/book/src/development/adding_lints.md @@ -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 diff --git a/book/src/development/writing_tests.md b/book/src/development/writing_tests.md index 39a5ad96688..d4cca2a72f0 100644 --- a/book/src/development/writing_tests.md +++ b/book/src/development/writing_tests.md @@ -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 |
