mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update Rust version again
This gets us the new runtime.
This commit is contained in:
parent
ef50acfa89
commit
a2d9810b69
49 changed files with 129 additions and 129 deletions
|
@ -62,7 +62,7 @@ impl DocumentDamageLevel {
|
|||
///
|
||||
/// FIXME(pcwalton): This could be refactored to use `max` and the `Ord` trait, and this
|
||||
/// function removed.
|
||||
fn add(&mut self, new_damage: DocumentDamageLevel) {
|
||||
pub fn add(&mut self, new_damage: DocumentDamageLevel) {
|
||||
match (*self, new_damage) {
|
||||
(ReflowDocumentDamage, new_damage) => *self = new_damage,
|
||||
(MatchSelectorsDocumentDamage, _) => *self = MatchSelectorsDocumentDamage,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue