mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Remove unused 'mut'
This commit is contained in:
parent
40cb22d270
commit
3503cb3df9
1 changed files with 3 additions and 3 deletions
|
@ -174,7 +174,7 @@ fn run_main_loop(po: Port<Msg>, script_chan: SharedChan<ScriptMsg>, opts: &Opts,
|
|||
};
|
||||
|
||||
// Set the layer's transform.
|
||||
let mut origin = Point2D(buffer.rect.origin.x as f32,
|
||||
let origin = Point2D(buffer.rect.origin.x as f32,
|
||||
buffer.rect.origin.y as f32);
|
||||
let transform = original_layer_transform.translate(origin.x,
|
||||
origin.y,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue