mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Update to uluru 0.2 and arrayvec 0.4
This commit is contained in:
parent
8e3056d0cc
commit
99c2db0549
7 changed files with 24 additions and 38 deletions
|
@ -1809,8 +1809,8 @@ impl SourcePropertyDeclaration {
|
|||
}
|
||||
|
||||
fn push(&mut self, declaration: PropertyDeclaration) {
|
||||
let over_capacity = self.declarations.push(declaration).is_some();
|
||||
debug_assert!(!over_capacity);
|
||||
let _result = self.declarations.try_push(declaration);
|
||||
debug_assert!(_result.is_ok());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue