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",
|
||||
"malloc_size_of",
|
||||
"malloc_size_of_derive",
|
||||
"matches",
|
||||
"mime",
|
||||
"mime_guess",
|
||||
"msg",
|
||||
|
@ -4835,9 +4834,6 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "script_plugins"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"matches",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "script_plugins_tests"
|
||||
|
@ -4906,7 +4902,6 @@ dependencies = [
|
|||
"derive_more 0.99.2",
|
||||
"fxhash",
|
||||
"log",
|
||||
"matches",
|
||||
"phf",
|
||||
"phf_codegen",
|
||||
"precomputed-hash",
|
||||
|
@ -5652,7 +5647,6 @@ dependencies = [
|
|||
"log",
|
||||
"malloc_size_of",
|
||||
"malloc_size_of_derive",
|
||||
"matches",
|
||||
"new_debug_unreachable",
|
||||
"num-derive",
|
||||
"num-integer",
|
||||
|
|
|
@ -37,7 +37,6 @@ libflate = "0.1"
|
|||
log = "0.4"
|
||||
malloc_size_of = { path = "../malloc_size_of" }
|
||||
malloc_size_of_derive = "0.1"
|
||||
matches = "0.1"
|
||||
mime = "0.3"
|
||||
mime_guess = "2.0.0-alpha.6"
|
||||
msg = {path = "../msg"}
|
||||
|
|
|
@ -11,8 +11,6 @@ extern crate log;
|
|||
#[macro_use]
|
||||
extern crate malloc_size_of_derive;
|
||||
#[macro_use]
|
||||
extern crate matches;
|
||||
#[macro_use]
|
||||
extern crate profile_traits;
|
||||
#[macro_use]
|
||||
extern crate serde;
|
||||
|
|
|
@ -11,6 +11,3 @@ plugin = true
|
|||
|
||||
[features]
|
||||
unrooted_must_root_lint = []
|
||||
|
||||
[dependencies]
|
||||
matches = "0.1"
|
||||
|
|
|
@ -19,8 +19,6 @@
|
|||
#![feature(rustc_private)]
|
||||
#![cfg(feature = "unrooted_must_root_lint")]
|
||||
|
||||
#[macro_use]
|
||||
extern crate matches;
|
||||
extern crate rustc;
|
||||
extern crate rustc_driver;
|
||||
extern crate rustc_hir;
|
||||
|
|
|
@ -21,7 +21,6 @@ bench = []
|
|||
|
||||
[dependencies]
|
||||
bitflags = "1.0"
|
||||
matches = "0.1"
|
||||
cssparser = "0.27"
|
||||
derive_more = "0.99"
|
||||
log = "0.4"
|
||||
|
|
|
@ -14,8 +14,6 @@ extern crate derive_more;
|
|||
extern crate fxhash;
|
||||
#[macro_use]
|
||||
extern crate log;
|
||||
#[macro_use]
|
||||
extern crate matches;
|
||||
extern crate phf;
|
||||
extern crate precomputed_hash;
|
||||
extern crate servo_arc;
|
||||
|
|
|
@ -50,7 +50,6 @@ lazy_static = "1"
|
|||
log = { version = "0.4", features = ["std"] }
|
||||
malloc_size_of = { path = "../malloc_size_of" }
|
||||
malloc_size_of_derive = "0.1"
|
||||
matches = "0.1"
|
||||
num_cpus = {version = "1.1.0"}
|
||||
num-integer = "0.1"
|
||||
num-traits = "0.2"
|
||||
|
|
|
@ -61,9 +61,6 @@ extern crate log;
|
|||
extern crate malloc_size_of;
|
||||
#[macro_use]
|
||||
extern crate malloc_size_of_derive;
|
||||
#[allow(unused_extern_crates)]
|
||||
#[macro_use]
|
||||
extern crate matches;
|
||||
#[cfg(feature = "gecko")]
|
||||
pub extern crate nsstring;
|
||||
#[cfg(feature = "gecko")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue