diff options
| author | bors <bors@rust-lang.org> | 2015-03-05 21:03:10 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-03-05 21:03:10 +0000 |
| commit | b0746ff19b3bc204215f04bbb5756159f9bc5c92 (patch) | |
| tree | 2116c5865229d3d238832e50c99ad9baebe63087 /src/libstd/thread.rs | |
| parent | f0c74f85f363a8081b31f9ab696463717ce312d5 (diff) | |
| parent | 340d1cc7d701bf1c5bae6c2ad5b097462c5d1a7c (diff) | |
| download | rust-b0746ff19b3bc204215f04bbb5756159f9bc5c92.tar.gz rust-b0746ff19b3bc204215f04bbb5756159f9bc5c92.zip | |
Auto merge of #23031 - Manishearth:rollup, r=Manishearth
Diffstat (limited to 'src/libstd/thread.rs')
| -rw-r--r-- | src/libstd/thread.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/thread.rs b/src/libstd/thread.rs index 9be77e78ed1..0ce3ca1f97a 100644 --- a/src/libstd/thread.rs +++ b/src/libstd/thread.rs @@ -901,7 +901,7 @@ mod test { assert!(e.is::<T>()); let any = e.downcast::<T>().ok().unwrap(); assert!(any.is::<u16>()); - assert_eq!(*any.downcast::<u16>().ok().unwrap(), 413u16); + assert_eq!(*any.downcast::<u16>().ok().unwrap(), 413); } Ok(()) => panic!() } |
