10 lines
107 B
Rust
10 lines
107 B
Rust
|
|
use foo::x;
|
|
use z = foo::x;
|
|
|
|
mod foo {
|
|
fn x(y: int) { log(debug, y); }
|
|
}
|
|
|
|
fn main() { x(10); z(10); }
|