Prefer to use repeat_n over repeat().take()
More from https://github.com/rust-lang/rust/pull/147464, but batch processed with `ast-grep` to find and replace.
second commit add notes for library:
|
||
|---|---|---|
| .. | ||
| alignment.rs | ||
| caller_location.rs | ||
| check_validity_requirement.rs | ||
| compare_types.rs | ||
| mod.rs | ||
| type_name.rs | ||