diff options
| author | y21 <30553356+y21@users.noreply.github.com> | 2023-10-02 15:22:42 +0200 |
|---|---|---|
| committer | y21 <30553356+y21@users.noreply.github.com> | 2023-12-01 16:52:34 +0100 |
| commit | 504941591f77d818bac0c859043eb264ebc096fe (patch) | |
| tree | 98caa5f98d68a3ca7c0614a6bc14502113710aae /clippy_lints/src/declared_lints.rs | |
| parent | d166fab544c02215718e98c586030cd65ddb965e (diff) | |
| download | rust-504941591f77d818bac0c859043eb264ebc096fe.tar.gz rust-504941591f77d818bac0c859043eb264ebc096fe.zip | |
new lint: `repeat_vec_with_capacity`
Diffstat (limited to 'clippy_lints/src/declared_lints.rs')
| -rw-r--r-- | clippy_lints/src/declared_lints.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clippy_lints/src/declared_lints.rs b/clippy_lints/src/declared_lints.rs index b440e267efe..29c96a7d6da 100644 --- a/clippy_lints/src/declared_lints.rs +++ b/clippy_lints/src/declared_lints.rs @@ -598,6 +598,7 @@ pub(crate) static LINTS: &[&crate::LintInfo] = &[ crate::reference::DEREF_ADDROF_INFO, crate::regex::INVALID_REGEX_INFO, crate::regex::TRIVIAL_REGEX_INFO, + crate::repeat_vec_with_capacity::REPEAT_VEC_WITH_CAPACITY_INFO, crate::reserve_after_initialization::RESERVE_AFTER_INITIALIZATION_INFO, crate::return_self_not_must_use::RETURN_SELF_NOT_MUST_USE_INFO, crate::returns::LET_AND_RETURN_INFO, |
