mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Format style component.
This commit is contained in:
parent
31fc6cd565
commit
8dab4d659a
120 changed files with 2207 additions and 1417 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue