Skip to content

Commit e188c7d

Browse files
authored
sliced_string_as_bytes: fix typo in lint description (#14117)
changelog: none
2 parents 398a5c2 + 5aa8bc1 commit e188c7d

File tree

1 file changed

+1
-1
lines changed
  • clippy_lints/src/methods

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4367,7 +4367,7 @@ declare_clippy_lint! {
43674367

43684368
declare_clippy_lint! {
43694369
/// ### What it does
4370-
/// Checks for string slices immediantly followed by `as_bytes`.
4370+
/// Checks for string slices immediately followed by `as_bytes`.
43714371
///
43724372
/// ### Why is this bad?
43734373
/// It involves doing an unnecessary UTF-8 alignment check which is less efficient, and can cause a panic.

0 commit comments

Comments
 (0)