10 lines
134 B
Rust
10 lines
134 B
Rust
struct Foo;
|
|
impl Foo {
|
|
fn associated(x: usize) {
|
|
print!("{};", x);
|
|
}
|
|
}
|
|
|
|
fn main() {
|
|
repeat(Foo::associated, 8);
|
|
}
|