Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 307d854

Browse files
committed
Address linter & changelog issues
1 parent 2ad20da commit 307d854

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6066,6 +6066,7 @@ Released 2018-09-13
60666066
[`size_of_in_element_count`]: https://rust-lang.github.io/rust-clippy/master/index.html#size_of_in_element_count
60676067
[`size_of_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#size_of_ref
60686068
[`skip_while_next`]: https://rust-lang.github.io/rust-clippy/master/index.html#skip_while_next
6069+
[`slice_as_bytes`]: https://rust-lang.github.io/rust-clippy/master/index.html#slice_as_bytes
60696070
[`slow_vector_initialization`]: https://rust-lang.github.io/rust-clippy/master/index.html#slow_vector_initialization
60706071
[`stable_sort_primitive`]: https://rust-lang.github.io/rust-clippy/master/index.html#stable_sort_primitive
60716072
[`std_instead_of_alloc`]: https://rust-lang.github.io/rust-clippy/master/index.html#std_instead_of_alloc

clippy_lints/src/declared_lints.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,7 @@ pub static LINTS: &[&crate::LintInfo] = &[
468468
crate::methods::SHOULD_IMPLEMENT_TRAIT_INFO,
469469
crate::methods::SINGLE_CHAR_ADD_STR_INFO,
470470
crate::methods::SKIP_WHILE_NEXT_INFO,
471+
crate::methods::SLICE_AS_BYTES_INFO,
471472
crate::methods::STABLE_SORT_PRIMITIVE_INFO,
472473
crate::methods::STRING_EXTEND_CHARS_INFO,
473474
crate::methods::STRING_LIT_CHARS_ANY_INFO,
@@ -503,7 +504,6 @@ pub static LINTS: &[&crate::LintInfo] = &[
503504
crate::methods::WAKER_CLONE_WAKE_INFO,
504505
crate::methods::WRONG_SELF_CONVENTION_INFO,
505506
crate::methods::ZST_OFFSET_INFO,
506-
crate::methods::SLICE_AS_BYTES_INFO,
507507
crate::min_ident_chars::MIN_IDENT_CHARS_INFO,
508508
crate::minmax::MIN_MAX_INFO,
509509
crate::misc::SHORT_CIRCUIT_STATEMENT_INFO,

0 commit comments

Comments
 (0)