about summary refs log tree commit diff
path: root/clippy_lints/src/mutable_debug_assertion.rs
diff options
context:
space:
mode:
authorPhilipp Hansch <dev@phansch.net>2020-03-25 07:50:08 +0100
committerPhilipp Hansch <dev@phansch.net>2020-03-25 07:50:08 +0100
commitcec1e8f74e10ac7a0cf6f1bc30ed419691f161d0 (patch)
treebea6a3bf6b7a5bb698ede594dcf136451fb8fc85 /clippy_lints/src/mutable_debug_assertion.rs
parent100a24d9d823e01483b3c2215dff71cadbf0ae50 (diff)
downloadrust-cec1e8f74e10ac7a0cf6f1bc30ed419691f161d0.tar.gz
rust-cec1e8f74e10ac7a0cf6f1bc30ed419691f161d0.zip
Remove dependency on `matches` crate
The std equivalent works exactly the same.
Diffstat (limited to 'clippy_lints/src/mutable_debug_assertion.rs')
-rw-r--r--clippy_lints/src/mutable_debug_assertion.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/clippy_lints/src/mutable_debug_assertion.rs b/clippy_lints/src/mutable_debug_assertion.rs
index 75225fa8c42..c576fc2c197 100644
--- a/clippy_lints/src/mutable_debug_assertion.rs
+++ b/clippy_lints/src/mutable_debug_assertion.rs
@@ -1,6 +1,5 @@
 use crate::utils::{is_direct_expn_of, span_lint};
 use if_chain::if_chain;
-use matches::matches;
 use rustc::hir::map::Map;
 use rustc::ty;
 use rustc_hir::intravisit::{walk_expr, NestedVisitorMap, Visitor};