mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
Remove unused_mut warning
This commit is contained in:
parent
493aa2cdf3
commit
4ddcc7ddc7
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue