Skip to content

Commit c749b2d

Browse files
committed
Readme: note that config changes don't apply to already compiled code
*Please write a short comment explaining your change (or "none" for internal only changes)* changelog: added a note to the Readme that config changes don't apply to already compiled code
1 parent 547efad commit c749b2d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ cognitive-complexity-threshold = 30
155155
See the [list of lints](https://rust-lang.github.io/rust-clippy/master/index.html) for more information about which
156156
lints can be configured and the meaning of the variables.
157157

158+
Note that configuration changes will not apply for code that has already been compiled and cached under `./target/`;
159+
for example, adding a new string to `doc-valid-idents` may still result in Clippy flagging that string. To be sure that
160+
any configuration changes are applied, you may want to run `cargo clean` and re-compile your crate from scratch.
161+
158162
To deactivate the “for further information visit *lint-link*” message you can
159163
define the `CLIPPY_DISABLE_DOCS_LINKS` environment variable.
160164

0 commit comments

Comments
 (0)