about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ging Ho Yim <cenviity@gmail.com>2025-06-08 01:49:36 +1000
committerGitHub <noreply@github.com>2025-06-08 01:49:36 +1000
commitaace547a00d2dc91c33f84ca0be3d8412c883aea (patch)
treec17896f6fab259a1877faca6446d8d0df1a73257
parent33052be5a609186072ba2f7c2b0c12e169e8dbca (diff)
downloadrust-aace547a00d2dc91c33f84ca0be3d8412c883aea.tar.gz
rust-aace547a00d2dc91c33f84ca0be3d8412c883aea.zip
Add missing word to `cloned_ref_to_slice_refs` docs
changelog: none
-rw-r--r--clippy_lints/src/cloned_ref_to_slice_refs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/cloned_ref_to_slice_refs.rs b/clippy_lints/src/cloned_ref_to_slice_refs.rs
index 6b239a1541b..e33a8e0fb74 100644
--- a/clippy_lints/src/cloned_ref_to_slice_refs.rs
+++ b/clippy_lints/src/cloned_ref_to_slice_refs.rs
@@ -17,7 +17,7 @@ declare_clippy_lint! {
     ///
     /// ### Why is this bad
     ///
-    /// A reference does not need to be owned in order to used as a slice.
+    /// A reference does not need to be owned in order to be used as a slice.
     ///
     /// ### Known problems
     ///