mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Update some code that's feature-gated under core.
This commit is contained in:
parent
29a36adbe7
commit
ba87666cdb
33 changed files with 104 additions and 107 deletions
|
@ -84,7 +84,7 @@ impl FontTemplate {
|
|||
}
|
||||
|
||||
pub fn identifier<'a>(&'a self) -> &'a str {
|
||||
self.identifier.as_slice()
|
||||
&*self.identifier
|
||||
}
|
||||
|
||||
/// Get the data for creating a font if it matches a given descriptor.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue