diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2025-01-30 21:26:40 +0100 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2025-01-30 21:27:57 +0100 |
| commit | 5aa8bc11cda874795aeefc4fbeda2fafc5830158 (patch) | |
| tree | 1b98c8bfa82b356b35fc23de18a85f0380b07444 | |
| parent | f51e18de3057d211a96edb39a71a17ce18f0ebee (diff) | |
| download | rust-5aa8bc11cda874795aeefc4fbeda2fafc5830158.tar.gz rust-5aa8bc11cda874795aeefc4fbeda2fafc5830158.zip | |
`sliced_string_as_bytes`: fix typo in lint description
| -rw-r--r-- | clippy_lints/src/methods/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs index 6dbfbc2ca3b..dd2ab7c10a5 100644 --- a/clippy_lints/src/methods/mod.rs +++ b/clippy_lints/src/methods/mod.rs @@ -4367,7 +4367,7 @@ declare_clippy_lint! { 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. |
