diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2017-08-11 16:24:21 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2017-08-15 14:10:44 +0200 |
commit | b5a4b8d6a09a71bd3a4ff4ae68e7a9639f9dcaad (patch) | |
tree | 6f19f8562d57258c06ee21ee2bdbd85f9ae2cb64 /components/script/dom/cssstylerule.rs | |
parent | 41fb10c58995781d595a233afae0758427ad5cc5 (diff) | |
download | servo-b5a4b8d6a09a71bd3a4ff4ae68e7a9639f9dcaad.tar.gz servo-b5a4b8d6a09a71bd3a4ff4ae68e7a9639f9dcaad.zip |
Upgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10)
Diffstat (limited to 'components/script/dom/cssstylerule.rs')
-rw-r--r-- | components/script/dom/cssstylerule.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/cssstylerule.rs b/components/script/dom/cssstylerule.rs index a45e0ad20c8..42e56a5e8fc 100644 --- a/components/script/dom/cssstylerule.rs +++ b/components/script/dom/cssstylerule.rs @@ -100,7 +100,7 @@ impl CSSStyleRuleMethods for CSSStyleRule { if let Ok(mut s) = SelectorList::parse(&parser, &mut css_parser) { // This mirrors what we do in CSSStyleOwner::mutate_associated_block. let mut guard = self.cssrule.shared_lock().write(); - let mut stylerule = self.stylerule.write_with(&mut guard); + let stylerule = self.stylerule.write_with(&mut guard); mem::swap(&mut stylerule.selectors, &mut s); // It seems like we will want to avoid having to invalidate all // stylesheets eventually! |