Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
untitaker committed Aug 2, 2023
1 parent fa88781 commit 6f7ddab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/collector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ impl<P: Copy + PartialEq> BrokenLinkCollector<P> {
if let LinkState::Undefined(links) = state {
let hard_404 = if check_anchors {
!matches!(
self.links.get(Href(&href).without_anchor().0),
self.links.get(Href(href).without_anchor().0),
Some(&LinkState::Defined)
)
} else {
Expand Down

0 comments on commit 6f7ddab

Please sign in to comment.