PageRenderTime 8ms CodeModel.GetById 2ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/src/test/run-pass/task-life-0.rs

http://github.com/jruderman/rust
Rust | 9 lines | 7 code | 2 blank | 0 comment | 0 complexity | bea428188be6c111da6b3d5bedc34e92 MD5 | raw file
1use std;
2import task;
3fn main() {
4    task::spawn(|| child(~"Hello") );
5}
6
7fn child(&&s: ~str) {
8
9}