about summary refs log tree commit diff
path: root/src/libstd/thread.rs
diff options
context:
space:
mode:
authorEduard Burtescu <edy.burt@gmail.com>2015-03-03 10:42:26 +0200
committerManish Goregaokar <manishsmail@gmail.com>2015-03-05 12:38:33 +0530
commite64670888a2839ba75237b1934c440c4c319b1bb (patch)
tree20e71f3ff12cd8ffd7ddf5cbc7cba29f8149d6df /src/libstd/thread.rs
parent68740b405404a3f885e388c8d31722797d519c30 (diff)
downloadrust-e64670888a2839ba75237b1934c440c4c319b1bb.tar.gz
rust-e64670888a2839ba75237b1934c440c4c319b1bb.zip
Remove integer suffixes where the types in compiled code are identical.
Diffstat (limited to 'src/libstd/thread.rs')
-rw-r--r--src/libstd/thread.rs2
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!()
         }