diff --git a/book/src/lint_configuration.md b/book/src/lint_configuration.md index ac5557740b96..3b62ae0524ab 100644 --- a/book/src/lint_configuration.md +++ b/book/src/lint_configuration.md @@ -813,6 +813,5 @@ for _ in &mut *rmvec {} --- **Affected lints:** * [`pub_underscore_fields`](https://rust-lang.github.io/rust-clippy/master/index.html#pub_underscore_fields) -* [`or`](https://rust-lang.github.io/rust-clippy/master/index.html#or) diff --git a/clippy_config/src/conf.rs b/clippy_config/src/conf.rs index ea1a0af4d38f..77d7f1760c99 100644 --- a/clippy_config/src/conf.rs +++ b/clippy_config/src/conf.rs @@ -550,7 +550,7 @@ define_Conf! { /// Lint: PUB_UNDERSCORE_FIELDS /// /// Lint "public" fields in a struct that are prefixed with an underscore based on their - /// exported visibility, or whether they are marked as "pub". + /// exported visibility; or whether they are marked as "pub". (pub_underscore_fields_behavior: PubUnderscoreFieldsBehaviour = PubUnderscoreFieldsBehaviour::PublicallyExported), }