mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-24 14:32:21 +03:00
714841ffdc
Reading the source code at https://github.com/rust-lang/rust-clippy/blob/b3188b8a9f0f2df2ba58bfe9001fe4fe711cff74/clippy_config/src/conf.rs#L928-L974 clearly shows that Clippy also searches parent directories when looking for a configuration file. However, this behavior is not documented anywhere I could see in the Clippy book, despite being useful to end users. For example, end users can leverage this to share a single configuration file across all member packages of a Cargo workspace. This change adds documentation for this behavior to the Clippy book. changelog: none