mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Format remaining files
This commit is contained in:
parent
bf47f90da6
commit
cb07debcb6
252 changed files with 5944 additions and 3744 deletions
|
@ -187,7 +187,8 @@ impl FontInfo {
|
|||
8 => FontStretchKeyword::ExtraExpanded,
|
||||
9 => FontStretchKeyword::UltraExpanded,
|
||||
_ => return Err(()),
|
||||
}.compute(),
|
||||
}
|
||||
.compute(),
|
||||
));
|
||||
|
||||
let style = if italic_bool {
|
||||
|
@ -224,7 +225,8 @@ impl FontInfo {
|
|||
FontStretch::Expanded => FontStretchKeyword::Expanded,
|
||||
FontStretch::ExtraExpanded => FontStretchKeyword::ExtraExpanded,
|
||||
FontStretch::UltraExpanded => FontStretchKeyword::UltraExpanded,
|
||||
}.compute(),
|
||||
}
|
||||
.compute(),
|
||||
));
|
||||
|
||||
Ok(FontInfo {
|
||||
|
|
|
@ -24,7 +24,8 @@ impl fmt::Debug for FontTemplateData {
|
|||
.bytes
|
||||
.as_ref()
|
||||
.map(|bytes| format!("[{} bytes]", bytes.len())),
|
||||
).field("identifier", &self.identifier)
|
||||
)
|
||||
.field("identifier", &self.identifier)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue