mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
sliced_string_as_bytes: fix typo in lint description
This commit is contained in:
@@ -4367,7 +4367,7 @@
|
||||
|
||||
declare_clippy_lint! {
|
||||
/// ### What it does
|
||||
/// Checks for string slices immediantly followed by `as_bytes`.
|
||||
/// Checks for string slices immediately followed by `as_bytes`.
|
||||
///
|
||||
/// ### Why is this bad?
|
||||
/// It involves doing an unnecessary UTF-8 alignment check which is less efficient, and can cause a panic.
|
||||
|
||||
Reference in New Issue
Block a user