mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-02 17:40:13 +00:00
13 lines
259 B
Rust
13 lines
259 B
Rust
#![allow(clippy::uninlined_format_args)]
|
|
|
|
pub struct ArrayWrapper<const N: usize>([usize; N]);
|
|
|
|
impl<const N: usize> ArrayWrapper<{ N }> {
|
|
pub fn ice(&self) {
|
|
for i in self.0.iter() {
|
|
println!("{}", i);
|
|
}
|
|
}
|
|
}
|
|
|
|
fn main() {}
|