diff options
Diffstat (limited to 'components/layout/animation.rs')
-rw-r--r-- | components/layout/animation.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/animation.rs b/components/layout/animation.rs index e4a2782c127..ebbba82fcc6 100644 --- a/components/layout/animation.rs +++ b/components/layout/animation.rs @@ -39,7 +39,7 @@ pub fn update_animation_state(constellation_chan: &IpcSender<ConstellationMsg>, // run. if let Some(ref mut animations) = running_animations.get_mut(node) { // TODO: This being linear is probably not optimal. - for mut anim in animations.iter_mut() { + for anim in animations.iter_mut() { if let Animation::Keyframes(_, ref anim_name, ref mut anim_state) = *anim { if *name == *anim_name { debug!("update_animation_state: Found other animation {}", name); |