about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCentri3 <114838443+Centri3@users.noreply.github.com>2023-06-10 09:35:42 -0500
committerCentri3 <114838443+Centri3@users.noreply.github.com>2023-06-12 03:22:01 -0500
commit203e875189647fa986e5d31998a7ecc4f3340c01 (patch)
tree67e264a0381c2d4c54a19c5841feca116597fcc3
parent95d1bff2251ff33e1e8ca2bc0c1941c4e91bc2e4 (diff)
downloadrust-203e875189647fa986e5d31998a7ecc4f3340c01.tar.gz
rust-203e875189647fa986e5d31998a7ecc4f3340c01.zip
`cargo collect-metadata`
-rw-r--r--book/src/lint_configuration.md41
1 files changed, 41 insertions, 0 deletions
diff --git a/book/src/lint_configuration.md b/book/src/lint_configuration.md
index 1812d50ed1b..b2e11d8de67 100644
--- a/book/src/lint_configuration.md
+++ b/book/src/lint_configuration.md
@@ -644,3 +644,44 @@ The maximum byte size a `Future` can have, before it triggers the `clippy::large
 
 
 ## `unnecessary-box-size`
+The byte size a `T` in `Box<T>` can have, below which it triggers the `clippy::unnecessary_box` lint
+
+**Default Value:** `128` (`u64`)
+
+---
+**Affected lints:**
+* [`unnecessary_box_returns`](https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_box_returns)
+
+
+## `allow-private-module-inception`
+Whether to allow module inception if it's not public.
+
+**Default Value:** `false` (`bool`)
+
+---
+**Affected lints:**
+* [`module_inception`](https://rust-lang.github.io/rust-clippy/master/index.html#module_inception)
+
+
+## `allowed-idents-below-min-chars`
+Allowed names below the minimum allowed characters. The value `".."` can be used as part of
+the list to indicate, that the configured values should be appended to the default
+configuration of Clippy. By default, any configuration will replace the default value.
+
+**Default Value:** `{"j", "z", "i", "y", "n", "x", "w"}` (`rustc_data_structures::fx::FxHashSet<String>`)
+
+---
+**Affected lints:**
+* [`min_ident_chars`](https://rust-lang.github.io/rust-clippy/master/index.html#min_ident_chars)
+
+
+## `min-ident-chars-threshold`
+Minimum chars an ident can have, anything below or equal to this will be linted.
+
+**Default Value:** `1` (`u64`)
+
+---
+**Affected lints:**
+* [`min_ident_chars`](https://rust-lang.github.io/rust-clippy/master/index.html#min_ident_chars)
+
+