Skip to content

Commit 23b1ace

Browse files
authored
Fixed some lint deprecated versions in the documentation (#15822)
Some lints had a wrong deprecated version on the documentation (I didn't check all of them, just recent ones). Fixes #15811 changelog: [`match_on_vec_items`]: Fixed the deprecation version to "1.88.0" changelog: [`option_map_or_err_ok `]: Fixed the deprecation version to "1.87.0" changelog: [`string_to_string `]: Fixed the deprecation version to "1.91.0"
2 parents c609d29 + f4b4fb9 commit 23b1ace

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clippy_lints/src/deprecated_lints.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ declare_with_version! { DEPRECATED(DEPRECATED_VERSION) = [
1818
("clippy::assign_ops", "compound operators are harmless and linting on them is not in scope for clippy"),
1919
#[clippy::version = "pre 1.29.0"]
2020
("clippy::extend_from_slice", "`Vec::extend_from_slice` is no longer faster than `Vec::extend` due to specialization"),
21-
#[clippy::version = "1.86.0"]
21+
#[clippy::version = "1.88.0"]
2222
("clippy::match_on_vec_items", "`clippy::indexing_slicing` covers indexing and slicing on `Vec<_>`"),
2323
#[clippy::version = "pre 1.29.0"]
2424
("clippy::misaligned_transmute", "split into `clippy::cast_ptr_alignment` and `clippy::transmute_ptr_to_ptr`"),
25-
#[clippy::version = "1.86.0"]
25+
#[clippy::version = "1.87.0"]
2626
("clippy::option_map_or_err_ok", "`clippy::manual_ok_or` covers this case"),
2727
#[clippy::version = "1.54.0"]
2828
("clippy::pub_enum_variant_names", "`clippy::enum_variant_names` now covers this case via the `avoid-breaking-exported-api` config"),
@@ -34,7 +34,7 @@ declare_with_version! { DEPRECATED(DEPRECATED_VERSION) = [
3434
("clippy::replace_consts", "`min_value` and `max_value` are now deprecated"),
3535
#[clippy::version = "pre 1.29.0"]
3636
("clippy::should_assert_eq", "`assert!(a == b)` can now print the values the same way `assert_eq!(a, b) can"),
37-
#[clippy::version = "1.90.0"]
37+
#[clippy::version = "1.91.0"]
3838
("clippy::string_to_string", "`clippy:implicit_clone` covers those cases"),
3939
#[clippy::version = "pre 1.29.0"]
4040
("clippy::unsafe_vector_initialization", "the suggested alternative could be substantially slower"),

0 commit comments

Comments
 (0)