PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms 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}