Skip to content

Commit 203e875

Browse files
committed
cargo collect-metadata
1 parent 95d1bff commit 203e875

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

book/src/lint_configuration.md

+41
Original file line numberDiff line numberDiff line change
@@ -644,3 +644,44 @@ The maximum byte size a `Future` can have, before it triggers the `clippy::large
644644

645645

646646
## `unnecessary-box-size`
647+
The byte size a `T` in `Box<T>` can have, below which it triggers the `clippy::unnecessary_box` lint
648+
649+
**Default Value:** `128` (`u64`)
650+
651+
---
652+
**Affected lints:**
653+
* [`unnecessary_box_returns`](https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_box_returns)
654+
655+
656+
## `allow-private-module-inception`
657+
Whether to allow module inception if it's not public.
658+
659+
**Default Value:** `false` (`bool`)
660+
661+
---
662+
**Affected lints:**
663+
* [`module_inception`](https://rust-lang.github.io/rust-clippy/master/index.html#module_inception)
664+
665+
666+
## `allowed-idents-below-min-chars`
667+
Allowed names below the minimum allowed characters. The value `".."` can be used as part of
668+
the list to indicate, that the configured values should be appended to the default
669+
configuration of Clippy. By default, any configuration will replace the default value.
670+
671+
**Default Value:** `{"j", "z", "i", "y", "n", "x", "w"}` (`rustc_data_structures::fx::FxHashSet<String>`)
672+
673+
---
674+
**Affected lints:**
675+
* [`min_ident_chars`](https://rust-lang.github.io/rust-clippy/master/index.html#min_ident_chars)
676+
677+
678+
## `min-ident-chars-threshold`
679+
Minimum chars an ident can have, anything below or equal to this will be linted.
680+
681+
**Default Value:** `1` (`u64`)
682+
683+
---
684+
**Affected lints:**
685+
* [`min_ident_chars`](https://rust-lang.github.io/rust-clippy/master/index.html#min_ident_chars)
686+
687+

0 commit comments

Comments
 (0)