mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Fixup error from #14238
This commit is contained in:
parent
8108fc465a
commit
0e19f456bc
1 changed files with 2 additions and 2 deletions
|
@ -26,11 +26,11 @@ impl ToCss for Source {
|
|||
fn to_css<W>(&self, dest: &mut W) -> fmt::Result where W: fmt::Write {
|
||||
match *self {
|
||||
Source::Url(ref url) => {
|
||||
try!(dest.write_str("local(\""));
|
||||
try!(dest.write_str("url(\""));
|
||||
try!(url.to_css(dest));
|
||||
},
|
||||
Source::Local(ref family) => {
|
||||
try!(dest.write_str("url(\""));
|
||||
try!(dest.write_str("local(\""));
|
||||
try!(family.to_css(dest));
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue