10 lines
99 B
Rust
10 lines
99 B
Rust
|
fn main() {
|
||
|
auto x = spawn m.child(10);
|
||
|
join x;
|
||
|
}
|
||
|
mod m {
|
||
|
fn child(int i) {
|
||
|
log i;
|
||
|
}
|
||
|
}
|