mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
Fix warnings in devtools_traits.
This commit is contained in:
parent
e25322ce5b
commit
79b8c3b9c0
1 changed files with 4 additions and 4 deletions
|
@ -10,13 +10,13 @@
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
|
|
||||||
#![feature(int_uint)]
|
#![feature(int_uint)]
|
||||||
|
#![feature(rustc_private)]
|
||||||
|
|
||||||
#![allow(non_snake_case)]
|
#![allow(non_snake_case)]
|
||||||
#![allow(missing_copy_implementations)]
|
#![allow(missing_copy_implementations)]
|
||||||
#![allow(unstable)]
|
|
||||||
|
|
||||||
extern crate msg;
|
extern crate msg;
|
||||||
extern crate serialize;
|
extern crate "serialize" as rustc_serialize;
|
||||||
extern crate url;
|
extern crate url;
|
||||||
extern crate util;
|
extern crate util;
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ pub use self::DevtoolsControlMsg::*;
|
||||||
pub use self::DevtoolScriptControlMsg::*;
|
pub use self::DevtoolScriptControlMsg::*;
|
||||||
pub use self::EvaluateJSReply::*;
|
pub use self::EvaluateJSReply::*;
|
||||||
|
|
||||||
use serialize::{Decodable, Decoder};
|
use rustc_serialize::{Decodable, Decoder};
|
||||||
use msg::constellation_msg::PipelineId;
|
use msg::constellation_msg::PipelineId;
|
||||||
use util::str::DOMString;
|
use util::str::DOMString;
|
||||||
use url::Url;
|
use url::Url;
|
||||||
|
@ -105,7 +105,7 @@ pub enum ScriptDevtoolControlMsg {
|
||||||
ReportConsoleMsg(String),
|
ReportConsoleMsg(String),
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Encodable)]
|
#[derive(RustcEncodable)]
|
||||||
pub struct Modification{
|
pub struct Modification{
|
||||||
pub attributeName: String,
|
pub attributeName: String,
|
||||||
pub newValue: Option<String>,
|
pub newValue: Option<String>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue