mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Use the matches!
macro from the standard library
This commit is contained in:
parent
6d6d16f7f4
commit
db4f27f361
9 changed files with 0 additions and 21 deletions
6
Cargo.lock
generated
6
Cargo.lock
generated
|
@ -3658,7 +3658,6 @@ dependencies = [
|
||||||
"log",
|
"log",
|
||||||
"malloc_size_of",
|
"malloc_size_of",
|
||||||
"malloc_size_of_derive",
|
"malloc_size_of_derive",
|
||||||
"matches",
|
|
||||||
"mime",
|
"mime",
|
||||||
"mime_guess",
|
"mime_guess",
|
||||||
"msg",
|
"msg",
|
||||||
|
@ -4835,9 +4834,6 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "script_plugins"
|
name = "script_plugins"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
dependencies = [
|
|
||||||
"matches",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "script_plugins_tests"
|
name = "script_plugins_tests"
|
||||||
|
@ -4906,7 +4902,6 @@ dependencies = [
|
||||||
"derive_more 0.99.2",
|
"derive_more 0.99.2",
|
||||||
"fxhash",
|
"fxhash",
|
||||||
"log",
|
"log",
|
||||||
"matches",
|
|
||||||
"phf",
|
"phf",
|
||||||
"phf_codegen",
|
"phf_codegen",
|
||||||
"precomputed-hash",
|
"precomputed-hash",
|
||||||
|
@ -5652,7 +5647,6 @@ dependencies = [
|
||||||
"log",
|
"log",
|
||||||
"malloc_size_of",
|
"malloc_size_of",
|
||||||
"malloc_size_of_derive",
|
"malloc_size_of_derive",
|
||||||
"matches",
|
|
||||||
"new_debug_unreachable",
|
"new_debug_unreachable",
|
||||||
"num-derive",
|
"num-derive",
|
||||||
"num-integer",
|
"num-integer",
|
||||||
|
|
|
@ -37,7 +37,6 @@ libflate = "0.1"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
malloc_size_of = { path = "../malloc_size_of" }
|
malloc_size_of = { path = "../malloc_size_of" }
|
||||||
malloc_size_of_derive = "0.1"
|
malloc_size_of_derive = "0.1"
|
||||||
matches = "0.1"
|
|
||||||
mime = "0.3"
|
mime = "0.3"
|
||||||
mime_guess = "2.0.0-alpha.6"
|
mime_guess = "2.0.0-alpha.6"
|
||||||
msg = {path = "../msg"}
|
msg = {path = "../msg"}
|
||||||
|
|
|
@ -11,8 +11,6 @@ extern crate log;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate malloc_size_of_derive;
|
extern crate malloc_size_of_derive;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate matches;
|
|
||||||
#[macro_use]
|
|
||||||
extern crate profile_traits;
|
extern crate profile_traits;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate serde;
|
extern crate serde;
|
||||||
|
|
|
@ -11,6 +11,3 @@ plugin = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
unrooted_must_root_lint = []
|
unrooted_must_root_lint = []
|
||||||
|
|
||||||
[dependencies]
|
|
||||||
matches = "0.1"
|
|
||||||
|
|
|
@ -19,8 +19,6 @@
|
||||||
#![feature(rustc_private)]
|
#![feature(rustc_private)]
|
||||||
#![cfg(feature = "unrooted_must_root_lint")]
|
#![cfg(feature = "unrooted_must_root_lint")]
|
||||||
|
|
||||||
#[macro_use]
|
|
||||||
extern crate matches;
|
|
||||||
extern crate rustc;
|
extern crate rustc;
|
||||||
extern crate rustc_driver;
|
extern crate rustc_driver;
|
||||||
extern crate rustc_hir;
|
extern crate rustc_hir;
|
||||||
|
|
|
@ -21,7 +21,6 @@ bench = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bitflags = "1.0"
|
bitflags = "1.0"
|
||||||
matches = "0.1"
|
|
||||||
cssparser = "0.27"
|
cssparser = "0.27"
|
||||||
derive_more = "0.99"
|
derive_more = "0.99"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
|
|
|
@ -14,8 +14,6 @@ extern crate derive_more;
|
||||||
extern crate fxhash;
|
extern crate fxhash;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate log;
|
extern crate log;
|
||||||
#[macro_use]
|
|
||||||
extern crate matches;
|
|
||||||
extern crate phf;
|
extern crate phf;
|
||||||
extern crate precomputed_hash;
|
extern crate precomputed_hash;
|
||||||
extern crate servo_arc;
|
extern crate servo_arc;
|
||||||
|
|
|
@ -50,7 +50,6 @@ lazy_static = "1"
|
||||||
log = { version = "0.4", features = ["std"] }
|
log = { version = "0.4", features = ["std"] }
|
||||||
malloc_size_of = { path = "../malloc_size_of" }
|
malloc_size_of = { path = "../malloc_size_of" }
|
||||||
malloc_size_of_derive = "0.1"
|
malloc_size_of_derive = "0.1"
|
||||||
matches = "0.1"
|
|
||||||
num_cpus = {version = "1.1.0"}
|
num_cpus = {version = "1.1.0"}
|
||||||
num-integer = "0.1"
|
num-integer = "0.1"
|
||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
|
|
|
@ -61,9 +61,6 @@ extern crate log;
|
||||||
extern crate malloc_size_of;
|
extern crate malloc_size_of;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate malloc_size_of_derive;
|
extern crate malloc_size_of_derive;
|
||||||
#[allow(unused_extern_crates)]
|
|
||||||
#[macro_use]
|
|
||||||
extern crate matches;
|
|
||||||
#[cfg(feature = "gecko")]
|
#[cfg(feature = "gecko")]
|
||||||
pub extern crate nsstring;
|
pub extern crate nsstring;
|
||||||
#[cfg(feature = "gecko")]
|
#[cfg(feature = "gecko")]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue