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
2 parents 398a5c2 + 5aa8bc1 commit e188c7dCopy full SHA for e188c7d
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