Skip to content

Commit 4597d46

Browse files
committed
Address linter & changelog issues
1 parent dcb1ab2 commit 4597d46

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
@@ -6064,6 +6064,7 @@ Released 2018-09-13
60646064
[`size_of_in_element_count`]: https://rust-lang.github.io/rust-clippy/master/index.html#size_of_in_element_count
60656065
[`size_of_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#size_of_ref
60666066
[`skip_while_next`]: https://rust-lang.github.io/rust-clippy/master/index.html#skip_while_next
6067+
[`slice_as_bytes`]: https://rust-lang.github.io/rust-clippy/master/index.html#slice_as_bytes
60676068
[`slow_vector_initialization`]: https://rust-lang.github.io/rust-clippy/master/index.html#slow_vector_initialization
60686069
[`stable_sort_primitive`]: https://rust-lang.github.io/rust-clippy/master/index.html#stable_sort_primitive
60696070
[`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
@@ -467,6 +467,7 @@ pub static LINTS: &[&crate::LintInfo] = &[
467467
crate::methods::SHOULD_IMPLEMENT_TRAIT_INFO,
468468
crate::methods::SINGLE_CHAR_ADD_STR_INFO,
469469
crate::methods::SKIP_WHILE_NEXT_INFO,
470+
crate::methods::SLICE_AS_BYTES_INFO,
470471
crate::methods::STABLE_SORT_PRIMITIVE_INFO,
471472
crate::methods::STRING_EXTEND_CHARS_INFO,
472473
crate::methods::STRING_LIT_CHARS_ANY_INFO,
@@ -502,7 +503,6 @@ pub static LINTS: &[&crate::LintInfo] = &[
502503
crate::methods::WAKER_CLONE_WAKE_INFO,
503504
crate::methods::WRONG_SELF_CONVENTION_INFO,
504505
crate::methods::ZST_OFFSET_INFO,
505-
crate::methods::SLICE_AS_BYTES_INFO,
506506
crate::min_ident_chars::MIN_IDENT_CHARS_INFO,
507507
crate::minmax::MIN_MAX_INFO,
508508
crate::misc::SHORT_CIRCUIT_STATEMENT_INFO,

0 commit comments

Comments
 (0)