@@ -436,7 +436,7 @@ need to ensure that the MSRV configured for the project is >= the MSRV of the
436436required Rust feature. If multiple features are required, just use the one with
437437a lower MSRV.
438438
439- First, add an MSRV alias for the required feature in [ ` clippy_utils ::msrvs` ] .
439+ First, add an MSRV alias for the required feature in [ ` clippy_config ::msrvs` ] .
440440This can be accessed later as ` msrvs::STR_STRIP_PREFIX ` , for example.
441441
442442``` rust 
@@ -506,7 +506,7 @@ fn msrv_1_45() {
506506``` 
507507
508508As a last step, the lint should be added to the lint documentation. This is done
509- in ` clippy_lints /src/utils /conf.rs` :
509+ in ` clippy_config /src/conf.rs` :
510510
511511``` rust 
512512define_Conf!  {
@@ -516,7 +516,7 @@ define_Conf! {
516516}
517517``` 
518518
519- [ `clippy_utils ::msrvs` ] : https://doc.rust-lang.org/nightly/nightly-rustc/clippy_utils /msrvs/index.html 
519+ [ `clippy_config ::msrvs` ] : https://doc.rust-lang.org/nightly/nightly-rustc/clippy_config /msrvs/index.html 
520520
521521## Author lint  
522522
@@ -657,7 +657,7 @@ Adding a configuration to a lint can be useful for
657657thresholds or to constrain some behavior that can be seen as a false positive
658658for some users. Adding a configuration is done in the following steps:
659659
660- 1 .  Adding a new configuration entry to [ ` clippy_lints::utils ::conf` ]  like this:
660+ 1 .  Adding a new configuration entry to [ ` clippy_config ::conf` ]  like this:
661661
662662   ``` rust,ignore 
663663   /// Lint: LINT_NAME. 
@@ -736,7 +736,7 @@ for some users. Adding a configuration is done in the following steps:
736736
737737   Run ` cargo collect-metadata `  to generate documentation changes for the book.
738738
739- [ `clippy_lints::utils:: conf` ] : https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints /src/utils /conf.rs 
739+ [ `clippy_config:: conf` ] : https://github.com/rust-lang/rust-clippy/blob/master/clippy_config /src/conf.rs 
740740[ `clippy_lints` lib file ] : https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/lib.rs 
741741[ `tests/ui` ] : https://github.com/rust-lang/rust-clippy/blob/master/tests/ui 
742742[ `tests/ui-toml` ] : https://github.com/rust-lang/rust-clippy/blob/master/tests/ui-toml 
0 commit comments