diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-08-15 07:31:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-15 07:31:04 -0500 |
commit | 7d9b82b9efa7b10a2e34d93df5ac535d99518f7a (patch) | |
tree | 6f19f8562d57258c06ee21ee2bdbd85f9ae2cb64 /components/script/dom/cssstyledeclaration.rs | |
parent | 41fb10c58995781d595a233afae0758427ad5cc5 (diff) | |
parent | b5a4b8d6a09a71bd3a4ff4ae68e7a9639f9dcaad (diff) | |
download | servo-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/script/dom/cssstyledeclaration.rs')
-rw-r--r-- | components/script/dom/cssstyledeclaration.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/cssstyledeclaration.rs b/components/script/dom/cssstyledeclaration.rs index 0732c9af9e4..ddf085b3491 100644 --- a/components/script/dom/cssstyledeclaration.rs +++ b/components/script/dom/cssstyledeclaration.rs @@ -238,7 +238,7 @@ impl CSSStyleDeclaration { return Err(Error::NoModificationAllowed); } - self.owner.mutate_associated_block(|ref mut pdb, mut changed| { + self.owner.mutate_associated_block(|pdb, changed| { if value.is_empty() { // Step 3 *changed = pdb.remove_property(&id); @@ -360,7 +360,7 @@ impl CSSStyleDeclarationMethods for CSSStyleDeclaration { _ => return Ok(()), }; - self.owner.mutate_associated_block(|ref mut pdb, mut changed| { + self.owner.mutate_associated_block(|pdb, changed| { // Step 5 & 6 *changed = pdb.set_importance(&id, importance); }); @@ -388,7 +388,7 @@ impl CSSStyleDeclarationMethods for CSSStyleDeclaration { }; let mut string = String::new(); - self.owner.mutate_associated_block(|mut pdb, mut changed| { + self.owner.mutate_associated_block(|pdb, changed| { pdb.property_value_to_css(&id, &mut string).unwrap(); *changed = pdb.remove_property(&id); }); @@ -438,7 +438,7 @@ impl CSSStyleDeclarationMethods for CSSStyleDeclaration { } let quirks_mode = window.Document().quirks_mode(); - self.owner.mutate_associated_block(|mut pdb, mut _changed| { + self.owner.mutate_associated_block(|pdb, _changed| { // Step 3 *pdb = parse_style_attribute(&value, &self.owner.base_url(), |