Add .
to end of lint lists in configuration
This commit is contained in:
parent
a71211d0b5
commit
2469784cb6
@ -769,6 +769,8 @@ Additional dotfiles (files or directories starting with a dot) to allow
|
||||
|
||||
|
||||
## `enforce-iter-loop-reborrow`
|
||||
Whether to recommend using implicit into iter for reborrowed values.
|
||||
|
||||
#### Example
|
||||
```no_run
|
||||
let mut vec = vec![1, 2, 3];
|
||||
@ -793,7 +795,7 @@ for _ in &mut *rmvec {}
|
||||
|
||||
|
||||
## `check-private-items`
|
||||
|
||||
Whether to also run the listed lints on private items.
|
||||
|
||||
**Default Value:** `false`
|
||||
|
||||
@ -806,7 +808,8 @@ for _ in &mut *rmvec {}
|
||||
|
||||
|
||||
## `pub-underscore-fields-behavior`
|
||||
|
||||
Meow "public" fields in a struct that are prefixed with an underscore based on their
|
||||
exported visibility, or whether they are marked as "pub".
|
||||
|
||||
**Default Value:** `"PublicallyExported"`
|
||||
|
||||
|
@ -523,7 +523,7 @@ pub fn get_configuration_metadata() -> Vec<ClippyConfiguration> {
|
||||
///
|
||||
/// Additional dotfiles (files or directories starting with a dot) to allow
|
||||
(allowed_dotfiles: FxHashSet<String> = FxHashSet::default()),
|
||||
/// Lint: EXPLICIT_ITER_LOOP
|
||||
/// Lint: EXPLICIT_ITER_LOOP.
|
||||
///
|
||||
/// Whether to recommend using implicit into iter for reborrowed values.
|
||||
///
|
||||
@ -543,11 +543,11 @@ pub fn get_configuration_metadata() -> Vec<ClippyConfiguration> {
|
||||
/// for _ in &mut *rmvec {}
|
||||
/// ```
|
||||
(enforce_iter_loop_reborrow: bool = false),
|
||||
/// Lint: MISSING_SAFETY_DOC, UNNECESSARY_SAFETY_DOC, MISSING_PANICS_DOC, MISSING_ERRORS_DOC
|
||||
/// Lint: MISSING_SAFETY_DOC, UNNECESSARY_SAFETY_DOC, MISSING_PANICS_DOC, MISSING_ERRORS_DOC.
|
||||
///
|
||||
/// Whether to also run the listed lints on private items.
|
||||
(check_private_items: bool = false),
|
||||
/// Lint: PUB_UNDERSCORE_FIELDS
|
||||
/// 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".
|
||||
|
Loading…
Reference in New Issue
Block a user