mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Fix various build warnings.
This commit is contained in:
parent
717805a593
commit
1604515fd9
16 changed files with 32 additions and 35 deletions
|
@ -30,8 +30,8 @@ use net::resource_task::{ProgressMsg, LoadResponse};
|
|||
use util::task_state;
|
||||
use util::task_state::IN_HTML_PARSER;
|
||||
use std::ascii::AsciiExt;
|
||||
use std::borrow::Cow;
|
||||
use std::old_io::{Writer, IoResult};
|
||||
use std::string::CowString;
|
||||
use url::Url;
|
||||
use html5ever::Attribute;
|
||||
use html5ever::serialize::{Serializable, Serializer, AttrRef};
|
||||
|
@ -120,7 +120,7 @@ impl<'a> TreeSink for servohtmlparser::Sink {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
fn parse_error(&mut self, msg: CowString<'static>) {
|
||||
fn parse_error(&mut self, msg: Cow<'static, str>) {
|
||||
debug!("Parse error: {}", msg);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue