mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
style: Fix formatting of recent changes.
This commit is contained in:
parent
cea6966fd2
commit
4d8fc4b8f7
9 changed files with 157 additions and 160 deletions
|
@ -419,7 +419,7 @@ impl Parse for RepeatCount<specified::Integer> {
|
|||
if i.value() > MAX_GRID_LINE {
|
||||
i = specified::Integer::new(MAX_GRID_LINE);
|
||||
}
|
||||
return Ok(RepeatCount::Number(i))
|
||||
return Ok(RepeatCount::Number(i));
|
||||
}
|
||||
try_match_ident_ignore_ascii_case! { input,
|
||||
"auto-fill" => Ok(RepeatCount::AutoFill),
|
||||
|
@ -527,7 +527,16 @@ impl<L, I> TrackListValue<L, I> {
|
|||
/// A grid `<track-list>` type.
|
||||
///
|
||||
/// <https://drafts.csswg.org/css-grid/#typedef-track-list>
|
||||
#[derive(Clone, Debug, MallocSizeOf, PartialEq, SpecifiedValueInfo, ToComputedValue, ToResolvedValue, ToShmem)]
|
||||
#[derive(
|
||||
Clone,
|
||||
Debug,
|
||||
MallocSizeOf,
|
||||
PartialEq,
|
||||
SpecifiedValueInfo,
|
||||
ToComputedValue,
|
||||
ToResolvedValue,
|
||||
ToShmem,
|
||||
)]
|
||||
#[repr(C)]
|
||||
pub struct GenericTrackList<LengthPercentage, Integer> {
|
||||
/// The index in `values` where our `<auto-repeat>` value is, if in bounds.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue