Upgrade to rustc 1.43.0-nightly (5d04ce67f 2020-02-13)

This commit is contained in:
Simon Sapin 2020-02-14 10:58:04 +01:00
parent db4f27f361
commit 708d3737df
9 changed files with 53 additions and 46 deletions

View file

@ -388,7 +388,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);
}
}
@ -435,7 +436,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;