aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/main/layout/layout_task.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2014-04-28 17:05:13 +0530
committerManish Goregaokar <manishsmail@gmail.com>2014-04-28 17:05:13 +0530
commit4ddcc7ddc727a3bde2813b2dfe136dd81f9efcd8 (patch)
tree60637ffcbec602851f86a94f00cf879fbd4e6c3b /src/components/main/layout/layout_task.rs
parent493aa2cdf30fb2ff5886c714030a20d714764b67 (diff)
downloadservo-4ddcc7ddc727a3bde2813b2dfe136dd81f9efcd8.tar.gz
servo-4ddcc7ddc727a3bde2813b2dfe136dd81f9efcd8.zip
Remove unused_mut warning
Diffstat (limited to 'src/components/main/layout/layout_task.rs')
-rw-r--r--src/components/main/layout/layout_task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/main/layout/layout_task.rs b/src/components/main/layout/layout_task.rs
index 24af14e5303..20f5a455989 100644
--- a/src/components/main/layout/layout_task.rs
+++ b/src/components/main/layout/layout_task.rs
@@ -546,7 +546,7 @@ impl LayoutTask {
{
// Reset the image cache.
let val = self.local_image_cache.lock();
- let mut local_image_cache = unsafe {
+ let local_image_cache = unsafe {
cast::transmute::<*(), &mut LocalImageCache>(*val)
};
local_image_cache.next_round(self.make_on_image_available_cb());