mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-11 05:42:47 +00:00
12 lines
217 B
Rust
12 lines
217 B
Rust
|
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() {}
|