diff options
author | chansuke <chansuke@georepublic.de> | 2018-09-09 16:24:45 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2018-09-09 16:24:45 +0200 |
commit | 8dab4d659aae9fc4954e3a346bd663f60485de31 (patch) | |
tree | 880e57979ded53f072653829a868c86d5075e7ef /components/style/stylesheet_set.rs | |
parent | 31fc6cd565479144b9b0c2d3fff09caad8089df7 (diff) | |
download | servo-8dab4d659aae9fc4954e3a346bd663f60485de31.tar.gz servo-8dab4d659aae9fc4954e3a346bd663f60485de31.zip |
Format style component.
Diffstat (limited to 'components/style/stylesheet_set.rs')
-rw-r--r-- | components/style/stylesheet_set.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/style/stylesheet_set.rs b/components/style/stylesheet_set.rs index a3b6e5cdc17..19790aba957 100644 --- a/components/style/stylesheet_set.rs +++ b/components/style/stylesheet_set.rs @@ -324,7 +324,8 @@ where fn insert_before(&mut self, sheet: S, before_sheet: &S) { debug_assert!(!self.contains(&sheet)); - let index = self.entries + let index = self + .entries .iter() .position(|entry| entry.sheet == *before_sheet) .expect("`before_sheet` stylesheet not found"); |