mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Update cssparser to 0.18
https://github.com/servo/rust-cssparser/pull/171
This commit is contained in:
parent
30d6d6024b
commit
eb98ae6e04
64 changed files with 541 additions and 512 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
//! The `ByteString` struct.
|
||||
|
||||
use cssparser::CompactCowStr;
|
||||
use cssparser::CowRcStr;
|
||||
use html5ever::{LocalName, Namespace};
|
||||
use servo_atoms::Atom;
|
||||
use std::ascii::AsciiExt;
|
||||
|
@ -298,8 +298,8 @@ impl<'a> Into<Cow<'a, str>> for DOMString {
|
|||
}
|
||||
}
|
||||
|
||||
impl<'a> Into<CompactCowStr<'a>> for DOMString {
|
||||
fn into(self) -> CompactCowStr<'a> {
|
||||
impl<'a> Into<CowRcStr<'a>> for DOMString {
|
||||
fn into(self) -> CowRcStr<'a> {
|
||||
self.0.into()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue