Fixup error from #14238

This commit is contained in:
Manish Goregaokar 2016-11-18 14:08:15 -08:00
parent 8108fc465a
commit 0e19f456bc

View file

@ -26,11 +26,11 @@ impl ToCss for Source {
fn to_css<W>(&self, dest: &mut W) -> fmt::Result where W: fmt::Write { fn to_css<W>(&self, dest: &mut W) -> fmt::Result where W: fmt::Write {
match *self { match *self {
Source::Url(ref url) => { Source::Url(ref url) => {
try!(dest.write_str("local(\"")); try!(dest.write_str("url(\""));
try!(url.to_css(dest)); try!(url.to_css(dest));
}, },
Source::Local(ref family) => { Source::Local(ref family) => {
try!(dest.write_str("url(\"")); try!(dest.write_str("local(\""));
try!(family.to_css(dest)); try!(family.to_css(dest));
}, },
} }