@@ -485,6 +485,16 @@ The maximum cognitive complexity a function can have
485
485
* [ ` cognitive_complexity ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#cognitive_complexity )
486
486
487
487
488
+ ## ` const-literal-digits-threshold `
489
+ The minimum digits a const float literal must have to supress the ` excessive_precicion ` lint
490
+
491
+ ** Default Value:** ` 30 `
492
+
493
+ ---
494
+ ** Affected lints:**
495
+ * [ ` excessive_precision ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision )
496
+
497
+
488
498
## ` disallowed-macros `
489
499
The list of disallowed macros, written as fully qualified paths.
490
500
@@ -555,7 +565,7 @@ default configuration of Clippy. By default, any configuration will replace the
555
565
* ` doc-valid-idents = ["ClipPy"] ` would replace the default list with ` ["ClipPy"] ` .
556
566
* ` doc-valid-idents = ["ClipPy", ".."] ` would append ` ClipPy ` to the default list.
557
567
558
- ** 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", "PowerPC", "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", "NixOS", "TeX", "LaTeX", "BibTeX", "BibLaTeX", "MinGW", "CamelCase"] `
568
+ ** 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", "InfiniBand", "RoCE", " ClojureScript", "CoffeeScript", "JavaScript", "PostScript", "PureScript", "TypeScript", "PowerPC", "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", "NixOS", "TeX", "LaTeX", "BibTeX", "BibLaTeX", "MinGW", "CamelCase"] `
559
569
560
570
---
561
571
** Affected lints:**
@@ -873,15 +883,13 @@ The minimum rust version that the project supports. Defaults to the `rust-versio
873
883
* [ ` needless_borrow ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow )
874
884
* [ ` non_std_lazy_statics ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#non_std_lazy_statics )
875
885
* [ ` option_as_ref_deref ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#option_as_ref_deref )
876
- * [ ` option_map_unwrap_or ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#option_map_unwrap_or )
877
886
* [ ` ptr_as_ptr ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#ptr_as_ptr )
878
887
* [ ` question_mark ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#question_mark )
879
888
* [ ` redundant_field_names ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names )
880
889
* [ ` redundant_static_lifetimes ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes )
881
890
* [ ` repeat_vec_with_capacity ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#repeat_vec_with_capacity )
882
891
* [ ` same_item_push ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#same_item_push )
883
892
* [ ` seek_from_current ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#seek_from_current )
884
- * [ ` seek_rewind ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#seek_rewind )
885
893
* [ ` to_digit_is_some ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#to_digit_is_some )
886
894
* [ ` transmute_ptr_to_ref ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref )
887
895
* [ ` tuple_array_conversions ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#tuple_array_conversions )
0 commit comments