add MSRV check for repeat_vec_with_capacity

This commit is contained in:
lapla-cogito 2025-02-01 12:42:39 +09:00
parent 88a00a87fa
commit 2a52fbe5da
No known key found for this signature in database
GPG key ID: B39C71D9F127FF9F
6 changed files with 34 additions and 4 deletions

View file

@ -37,3 +37,8 @@ fn main() {
from_macro!(Vec::<()>::with_capacity(42));
}
}
#[clippy::msrv = "1.27.0"]
fn msrv_check() {
std::iter::repeat(Vec::<()>::with_capacity(42));
}

View file

@ -37,3 +37,8 @@ fn main() {
from_macro!(Vec::<()>::with_capacity(42));
}
}
#[clippy::msrv = "1.27.0"]
fn msrv_check() {
std::iter::repeat(Vec::<()>::with_capacity(42));
}