mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 14:38:46 +00:00
Reword paragraph
Co-authored-by: Dirkjan Ochtman <dirkjan@ochtman.nl>
This commit is contained in:
parent
830bac5548
commit
d2acfb37b3
1 changed files with 1 additions and 1 deletions
|
@ -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)).
|
||||
///
|
||||
|
|
Loading…
Add table
Reference in a new issue