Skip to content

Commit

Permalink
Remove unused_mut warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Apr 28, 2014
1 parent 493aa2c commit 4ddcc7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/main/layout/layout_task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

5 comments on commit 4ddcc7d

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from jdm
at Manishearth@4ddcc7d

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging Manishearth/servo/unused_mut = 4ddcc7d into auto

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Manishearth/servo/unused_mut = 4ddcc7d merged ok, testing candidate = abe5054

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = abe5054

Please sign in to comment.