File tree 3 files changed +6
-1
lines changed 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -842,6 +842,7 @@ All notable changes to this project will be documented in this file.
842
842
[ `single_char_pattern` ] : https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern
843
843
[ `single_match` ] : https://rust-lang.github.io/rust-clippy/master/index.html#single_match
844
844
[ `single_match_else` ] : https://rust-lang.github.io/rust-clippy/master/index.html#single_match_else
845
+ [ `slow_vector_initialization` ] : https://rust-lang.github.io/rust-clippy/master/index.html#slow_vector_initialization
845
846
[ `str_to_string` ] : https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string
846
847
[ `string_add` ] : https://rust-lang.github.io/rust-clippy/master/index.html#string_add
847
848
[ `string_add_assign` ] : https://rust-lang.github.io/rust-clippy/master/index.html#string_add_assign
@@ -880,6 +881,7 @@ All notable changes to this project will be documented in this file.
880
881
[ `unneeded_field_pattern` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern
881
882
[ `unreadable_literal` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal
882
883
[ `unsafe_removed_from_name` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unsafe_removed_from_name
884
+ [ `unsafe_vector_initialization` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unsafe_vector_initialization
883
885
[ `unseparated_literal_suffix` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unseparated_literal_suffix
884
886
[ `unstable_as_mut_slice` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unstable_as_mut_slice
885
887
[ `unstable_as_slice` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unstable_as_slice
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ We are currently in the process of discussing Clippy 1.0 via the RFC process in
9
9
10
10
A collection of lints to catch common mistakes and improve your [ Rust] ( https://github.com/rust-lang/rust ) code.
11
11
12
- [ There are 288 lints included in this crate!] ( https://rust-lang.github.io/rust-clippy/master/index.html )
12
+ [ There are 290 lints included in this crate!] ( https://rust-lang.github.io/rust-clippy/master/index.html )
13
13
14
14
We have a bunch of lint categories to allow you to choose how much Clippy is supposed to ~~ annoy~~ help you:
15
15
Original file line number Diff line number Diff line change @@ -711,6 +711,8 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
711
711
returns:: NEEDLESS_RETURN ,
712
712
returns:: UNUSED_UNIT ,
713
713
serde_api:: SERDE_API_MISUSE ,
714
+ slow_vector_initialization:: SLOW_VECTOR_INITIALIZATION ,
715
+ slow_vector_initialization:: UNSAFE_VECTOR_INITIALIZATION ,
714
716
strings:: STRING_LIT_AS_BYTES ,
715
717
suspicious_trait_impl:: SUSPICIOUS_ARITHMETIC_IMPL ,
716
718
suspicious_trait_impl:: SUSPICIOUS_OP_ASSIGN_IMPL ,
@@ -957,6 +959,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
957
959
ranges:: ITERATOR_STEP_BY_ZERO ,
958
960
regex:: INVALID_REGEX ,
959
961
serde_api:: SERDE_API_MISUSE ,
962
+ slow_vector_initialization:: UNSAFE_VECTOR_INITIALIZATION ,
960
963
suspicious_trait_impl:: SUSPICIOUS_ARITHMETIC_IMPL ,
961
964
suspicious_trait_impl:: SUSPICIOUS_OP_ASSIGN_IMPL ,
962
965
swap:: ALMOST_SWAPPED ,
You can’t perform that action at this time.
0 commit comments