about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTimo <30553356+y21@users.noreply.github.com>2023-08-09 14:44:42 +0200
committerGitHub <noreply@github.com>2023-08-09 14:44:42 +0200
commitd2acfb37b3344de3405457e02c4703cfc74bcb95 (patch)
treed883c61e9a6b2901ed34cc2fb9897469d4475281
parent830bac554898fa6e3969876134324df4b41670c1 (diff)
downloadrust-d2acfb37b3344de3405457e02c4703cfc74bcb95.tar.gz
rust-d2acfb37b3344de3405457e02c4703cfc74bcb95.zip
Reword paragraph
Co-authored-by: Dirkjan Ochtman <dirkjan@ochtman.nl>
-rw-r--r--clippy_lints/src/slow_vector_initialization.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/slow_vector_initialization.rs b/clippy_lints/src/slow_vector_initialization.rs
index 2117bcae22c..1001441b03d 100644
--- a/clippy_lints/src/slow_vector_initialization.rs
+++ b/clippy_lints/src/slow_vector_initialization.rs
@@ -20,7 +20,7 @@ declare_clippy_lint! {
     /// These structures are non-idiomatic and less efficient than simply using
     /// `vec![0; len]`.
     ///
-    /// More specifically, for `vec![0; len]`, the compiler can use a more specialized type of allocation
+    /// Specifically, for `vec![0; len]`, the compiler can use a specialized type of allocation
     /// that also zero-initializes the allocated memory in the same call
     /// (see: [alloc_zeroed](https://doc.rust-lang.org/stable/std/alloc/trait.GlobalAlloc.html#method.alloc_zeroed)).
     ///