mirror of
https://github.com/servo/servo.git
synced 2025-08-14 09:55:35 +01:00
Use static atoms in some places.
This commit is contained in:
parent
d5ee58caf2
commit
9faa2de0fc
3 changed files with 4 additions and 5 deletions
|
@ -1759,7 +1759,7 @@ pub mod longhands {
|
|||
|
||||
#[inline]
|
||||
pub fn get_initial_value() -> computed_value::T {
|
||||
computed_value::T(vec![FontFamily::FamilyName(Atom::from_slice("serif"))])
|
||||
computed_value::T(vec![FontFamily::FamilyName(atom!("serif"))])
|
||||
}
|
||||
/// <family-name>#
|
||||
/// <family-name> = <string> | [ <ident>+ ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue