@@ -456,7 +456,7 @@ default configuration of Clippy. By default, any configuration will replace the
456456* ` doc-valid-idents = ["ClipPy"] ` would replace the default list with ` ["ClipPy"] ` .
457457* ` doc-valid-idents = ["ClipPy", ".."] ` would append ` ClipPy ` to the default list.
458458
459- ** Default Value:** ` ["KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "AccessKit", "CoreFoundation", "CoreGraphics", "CoreText", "DevOps", "Direct2D", "Direct3D", "DirectWrite", "DirectX", "ECMAScript", "GPLv2", "GPLv3", "GitHub", "GitLab", "IPv4", "IPv6", "ClojureScript", "CoffeeScript", "JavaScript", "PostScript", "PureScript", "TypeScript", "WebAssembly", "NaN", "NaNs", "OAuth", "GraphQL", "OCaml", "OpenAL", "OpenDNS", "OpenGL", "OpenMP", "OpenSSH", "OpenSSL", "OpenStreetMap", "OpenTelemetry", "OpenType", "WebGL", "WebGL2", "WebGPU", "WebRTC", "WebSocket", "WebTransport", "WebP", "OpenExr", "YCbCr", "sRGB", "TensorFlow", "TrueType", "iOS", "macOS", "FreeBSD", "NetBSD", "OpenBSD", "TeX", "LaTeX", "BibTeX", "BibLaTeX", "MinGW", "CamelCase"] `
459+ ** Default Value:** ` ["KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "MHz", "GHz", "THz", " AccessKit", "CoAP ", "CoreFoundation", "CoreGraphics", "CoreText", "DevOps", "Direct2D", "Direct3D", "DirectWrite", "DirectX", "ECMAScript", "GPLv2", "GPLv3", "GitHub", "GitLab", "IPv4", "IPv6", "ClojureScript", "CoffeeScript", "JavaScript", "PostScript", "PureScript", "TypeScript", "WebAssembly", "NaN", "NaNs", "OAuth", "GraphQL", "OCaml", "OpenAL", "OpenDNS", "OpenGL", "OpenMP", "OpenSSH", "OpenSSL", "OpenStreetMap", "OpenTelemetry", "OpenType", "WebGL", "WebGL2", "WebGPU", "WebRTC", "WebSocket", "WebTransport", "WebP", "OpenExr", "YCbCr", "sRGB", "TensorFlow", "TrueType", "iOS", "macOS", "FreeBSD", "NetBSD", "OpenBSD", "TeX", "LaTeX", "BibTeX", "BibLaTeX", "MinGW", "CamelCase"] `
460460
461461---
462462** Affected lints:**
@@ -666,6 +666,16 @@ crate. For example, `pub(crate)` items.
666666* [ ` missing_docs_in_private_items ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#missing_docs_in_private_items )
667667
668668
669+ ## ` module-item-order-groupings `
670+ The named groupings of different source item kinds within modules.
671+
672+ ** Default Value:** ` [["modules", ["extern_crate", "mod", "foreign_mod"]], ["use", ["use"]], ["macros", ["macro"]], ["global_asm", ["global_asm"]], ["UPPER_SNAKE_CASE", ["static", "const"]], ["PascalCase", ["ty_alias", "enum", "struct", "union", "trait", "trait_alias", "impl"]], ["lower_snake_case", ["fn"]]] `
673+
674+ ---
675+ ** Affected lints:**
676+ * [ ` arbitrary_source_item_ordering ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#arbitrary_source_item_ordering )
677+
678+
669679## ` msrv `
670680The minimum rust version that the project supports. Defaults to the ` rust-version ` field in ` Cargo.toml `
671681
@@ -710,6 +720,7 @@ The minimum rust version that the project supports. Defaults to the `rust-versio
710720* [ ` manual_try_fold ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#manual_try_fold )
711721* [ ` map_clone ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#map_clone )
712722* [ ` map_unwrap_or ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#map_unwrap_or )
723+ * [ ` map_with_unused_argument_over_ranges ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#map_with_unused_argument_over_ranges )
713724* [ ` match_like_matches_macro ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro )
714725* [ ` mem_replace_with_default ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_default )
715726* [ ` missing_const_for_fn ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_fn )
@@ -783,6 +794,16 @@ The maximum number of single char bindings a scope may have
783794* [ ` many_single_char_names ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names )
784795
785796
797+ ## ` source-item-ordering `
798+ Which kind of elements should be ordered internally, possible values being ` enum ` , ` impl ` , ` module ` , ` struct ` , ` trait ` .
799+
800+ ** Default Value:** ` ["enum", "impl", "module", "struct", "trait"] `
801+
802+ ---
803+ ** Affected lints:**
804+ * [ ` arbitrary_source_item_ordering ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#arbitrary_source_item_ordering )
805+
806+
786807## ` stack-size-threshold `
787808The maximum allowed stack size for functions in bytes
788809
@@ -862,6 +883,16 @@ The maximum number of lines a function or method can have
862883* [ ` too_many_lines ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#too_many_lines )
863884
864885
886+ ## ` trait-assoc-item-kinds-order `
887+ The order of associated items in traits.
888+
889+ ** Default Value:** ` ["const", "type", "fn"] `
890+
891+ ---
892+ ** Affected lints:**
893+ * [ ` arbitrary_source_item_ordering ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#arbitrary_source_item_ordering )
894+
895+
865896## ` trivial-copy-size-limit `
866897The maximum size (in bytes) to consider a ` Copy ` type for passing by value instead of by
867898reference. By default there is no limit
0 commit comments