aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/animation.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-08-15 07:31:04 -0500
committerGitHub <noreply@github.com>2017-08-15 07:31:04 -0500
commit7d9b82b9efa7b10a2e34d93df5ac535d99518f7a (patch)
tree6f19f8562d57258c06ee21ee2bdbd85f9ae2cb64 /components/layout/animation.rs
parent41fb10c58995781d595a233afae0758427ad5cc5 (diff)
parentb5a4b8d6a09a71bd3a4ff4ae68e7a9639f9dcaad (diff)
downloadservo-7d9b82b9efa7b10a2e34d93df5ac535d99518f7a.tar.gz
servo-7d9b82b9efa7b10a2e34d93df5ac535d99518f7a.zip
Auto merge of #18046 - servo:rustup, r=emilio
Upgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10) <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18046) <!-- Reviewable:end -->
Diffstat (limited to 'components/layout/animation.rs')
-rw-r--r--components/layout/animation.rs2
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);