diff --git a/clippy_lints/src/slow_vector_initialization.rs b/clippy_lints/src/slow_vector_initialization.rs index 4ce9ce3e2ff..1f9f369cfe4 100644 --- a/clippy_lints/src/slow_vector_initialization.rs +++ b/clippy_lints/src/slow_vector_initialization.rs @@ -11,8 +11,8 @@ use syntax_pos::symbol::Symbol; /// **What it does:** Checks slow zero-filled vector initialization /// -/// **Why is this bad?** This structures are non-idiomatic and less efficient than simply using -/// `vec![len; 0]`. +/// **Why is this bad?** These structures are non-idiomatic and less efficient than simply using +/// `vec![0; len]`. /// /// **Known problems:** None. ///