Skip to content

Commit 758c56f

Browse files
bors[bot]notriddle
andauthored
Merge #151
151: Remove third-party `matches!` implementation r=notriddle a=notriddle Co-authored-by: Michael Howell <[email protected]>
2 parents fd7602e + b04b541 commit 758c56f

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Unreleased
22

33
* chore: use `#[non_exhaustive]` instead of hidden variant for `UrlRelative` policy
4+
* chore: remove unnecessary dependency on third-party `matches!` macro
45

56
# 3.1.3
67

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ edition = "2018"
1515
html5ever = "0.25"
1616
markup5ever_rcdom = "0.1"
1717
maplit = "1.0"
18-
matches = "0.1.6"
1918
tendril = "0.4"
2019
url = "2"
2120
lazy_static = "1.3"

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ use html5ever::{driver as html, local_name, namespace_url, ns, QualName};
3434
use lazy_static::lazy_static;
3535
use maplit::{hashmap, hashset};
3636
use markup5ever_rcdom::{Handle, NodeData, RcDom, SerializableHandle};
37-
use matches::matches;
3837
use std::borrow::{Borrow, Cow};
3938
use std::cmp::max;
4039
use std::collections::{HashMap, HashSet};

0 commit comments

Comments
 (0)