diff options
Diffstat (limited to 'src/components/net/image_cache_task.rs')
-rw-r--r-- | src/components/net/image_cache_task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/net/image_cache_task.rs b/src/components/net/image_cache_task.rs index c70ebc3ebeb..698318776af 100644 --- a/src/components/net/image_cache_task.rs +++ b/src/components/net/image_cache_task.rs @@ -695,7 +695,7 @@ mod tests { // Wait until our mock resource task has sent the image to the image cache join_port.recv(); - for _ in range(0,2) { + for _ in range(0u32, 2u32) { let (response_chan, response_port) = comm::channel(); image_cache_task.send(GetImage(url.clone(), response_chan)); match response_port.recv() { |