Skip to content

Commit

Permalink
refactor: remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
msdlisper committed Nov 3, 2023
1 parent 73c7581 commit 1bcbff6
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -539,9 +539,8 @@ impl Rule for UseExhaustiveDependencies {
let filter_dependency_text = dependency_text.replace("?", "");
let capture_deeper_than_dependency =
filter_capture_text.starts_with(&filter_dependency_text);
let dependency_deeper_than_capture = filter_dependency_text
.replace("?", "")
.starts_with(&filter_capture_text);
let dependency_deeper_than_capture =
filter_dependency_text.starts_with(&filter_capture_text);
match (
capture_deeper_than_dependency,
dependency_deeper_than_capture,
Expand Down

0 comments on commit 1bcbff6

Please sign in to comment.