aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/attr.rs
diff options
context:
space:
mode:
authorcoalman <tehcoalman@gmail.com>2017-04-18 02:21:10 -0400
committercoalman <tehcoalman@gmail.com>2017-04-18 14:56:13 -0400
commitfc34b9a14dfb357f15116a5e53a73146be14845a (patch)
treee0f698a480c2ebd6a4e0e50f365b85feecaf2066 /components/style/attr.rs
parent57e74542ee0b33bf103064a194f4d7ba27ea5b49 (diff)
downloadservo-fc34b9a14dfb357f15116a5e53a73146be14845a.tar.gz
servo-fc34b9a14dfb357f15116a5e53a73146be14845a.zip
Fix indentation errors in servo rust code that tidy now finds.
Diffstat (limited to 'components/style/attr.rs')
-rw-r--r--components/style/attr.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/style/attr.rs b/components/style/attr.rs
index 04d37a37a70..1989816329d 100644
--- a/components/style/attr.rs
+++ b/components/style/attr.rs
@@ -160,8 +160,8 @@ impl AttrValue {
pub fn from_comma_separated_tokenlist(tokens: String) -> AttrValue {
let atoms = split_commas(&tokens).map(Atom::from)
.fold(vec![], |mut acc, atom| {
- if !acc.contains(&atom) { acc.push(atom) }
- acc
+ if !acc.contains(&atom) { acc.push(atom) }
+ acc
});
AttrValue::TokenList(tokens, atoms)
}