We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
sliced_string_as_bytes
1 parent f51e18d commit 5aa8bc1Copy full SHA for 5aa8bc1
clippy_lints/src/methods/mod.rs
@@ -4367,7 +4367,7 @@ declare_clippy_lint! {
4367
4368
declare_clippy_lint! {
4369
/// ### What it does
4370
- /// Checks for string slices immediantly followed by `as_bytes`.
+ /// Checks for string slices immediately followed by `as_bytes`.
4371
///
4372
/// ### Why is this bad?
4373
/// It involves doing an unnecessary UTF-8 alignment check which is less efficient, and can cause a panic.
0 commit comments