auto merge of #2248 : Manishearth/servo/unused_mut, r=jdm

This commit is contained in:
bors-servo 2014-04-28 10:13:37 -04:00
commit abe50544a9

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