Remove unused_mut warning

This commit is contained in:
Manish Goregaokar 2014-04-28 17:05:13 +05:30
parent 493aa2cdf3
commit 4ddcc7ddc7

View file

@ -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());