mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
Make use of From<String> for Atom
This commit is contained in:
parent
50af73d1a2
commit
cc030df36e
7 changed files with 14 additions and 14 deletions
|
@ -230,7 +230,7 @@ impl FontCache {
|
|||
let family_name = LowercaseString::new(family.name());
|
||||
|
||||
let templates = &mut self.web_families.get_mut(&family_name).unwrap();
|
||||
templates.add_template(Atom::from(&*url.to_string()), Some(bytes));
|
||||
templates.add_template(Atom::from(url.to_string()), Some(bytes));
|
||||
drop(result.send(()));
|
||||
}
|
||||
Command::Exit(result) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue