add MSRV check for repeat_vec_with_capacity
This commit is contained in:
parent
88a00a87fa
commit
2a52fbe5da
6 changed files with 34 additions and 4 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue