diff options
Diffstat (limited to 'src/test/run-pass/spawn.rs')
| -rw-r--r-- | src/test/run-pass/spawn.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/spawn.rs b/src/test/run-pass/spawn.rs index 90b47f4986b..1c34634c73d 100644 --- a/src/test/run-pass/spawn.rs +++ b/src/test/run-pass/spawn.rs @@ -14,4 +14,4 @@ pub fn main() { thread::spawn(move|| child(10)).join().ok().unwrap(); } -fn child(i: int) { println!("{}", i); assert!((i == 10)); } +fn child(i: isize) { println!("{}", i); assert!((i == 10)); } |
