Bug 1630676 - Fix some errors and formatting changes when updating rustc to 1.43.0-nightly (5d04ce67f 2020-02-13).

This commit is contained in:
Simon Sapin 2020-02-14 10:58:04 +01:00 committed by Emilio Cobos Álvarez
parent 50c4715de4
commit 0158f5c65e
3 changed files with 6 additions and 5 deletions

View File

@ -390,7 +390,8 @@ macro_rules! sheet_set_methods {
guard: &SharedRwLockReadGuard,
) {
if let Some(device) = device {
self.invalidations.collect_invalidations_for(device, sheet, guard);
self.invalidations
.collect_invalidations_for(device, sheet, guard);
}
}
@ -437,7 +438,7 @@ macro_rules! sheet_set_methods {
let collection = self.collection_for(&sheet, guard);
collection.remove(&sheet)
}
}
};
}
impl<S> DocumentStylesheetSet<S>

View File

@ -80,7 +80,7 @@ macro_rules! computed_length_percentage_or_auto {
generics::GenericLengthPercentageOrAuto::Auto => None,
generics::GenericLengthPercentageOrAuto::LengthPercentage(ref lp) => {
Some(lp.to_used_value(percentage_basis))
}
},
}
}
@ -93,7 +93,7 @@ macro_rules! computed_length_percentage_or_auto {
Auto => false,
}
}
}
};
}
/// A computed type for `<length-percentage> | auto`.

View File

@ -61,7 +61,7 @@ macro_rules! system_font_methods {
None
}
}
}
};
}
const DEFAULT_SCRIPT_MIN_SIZE_PT: u32 = 8;