about summary refs log tree commit diff
path: root/src/libstd/sync/task_pool.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-02-24 13:49:01 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-02-24 13:49:01 +0530
commitb182cd7245a999ac702f88c89dcc28811d6fdf8a (patch)
tree4d7d5a2e4766e439eb398807e8e66bc4d1b1dcf2 /src/libstd/sync/task_pool.rs
parent2d74b53a034dc538d624f6c3b3ec313d40033415 (diff)
downloadrust-b182cd7245a999ac702f88c89dcc28811d6fdf8a.tar.gz
rust-b182cd7245a999ac702f88c89dcc28811d6fdf8a.zip
Fix integers in tests (fixup #22700)
Diffstat (limited to 'src/libstd/sync/task_pool.rs')
-rw-r--r--src/libstd/sync/task_pool.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync/task_pool.rs b/src/libstd/sync/task_pool.rs
index 738aeccbe7a..31f3dfd877c 100644
--- a/src/libstd/sync/task_pool.rs
+++ b/src/libstd/sync/task_pool.rs
@@ -142,7 +142,7 @@ mod test {
     use super::*;
     use sync::mpsc::channel;
 
-    const TEST_TASKS: u32 = 4;
+    const TEST_TASKS: usize = 4;
 
     #[test]
     fn test_works() {