mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Fix illegal_floating_point_literal_pattern again and rustup…
… to compiler that has it, to avoid regressing again.
This commit is contained in:
parent
d2fa2ae934
commit
dd38c0969d
3 changed files with 6 additions and 9 deletions
|
@ -1660,11 +1660,7 @@ fn static_assert() {
|
|||
|
||||
pub fn clone_font_size_adjust(&self) -> longhands::font_size_adjust::computed_value::T {
|
||||
use properties::longhands::font_size_adjust::computed_value::T;
|
||||
|
||||
match self.gecko.mFont.sizeAdjust {
|
||||
-1.0 => T::None,
|
||||
_ => T::Number(self.gecko.mFont.sizeAdjust),
|
||||
}
|
||||
T::from_gecko_adjust(self.gecko.mFont.sizeAdjust)
|
||||
}
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue