Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ibigbug committed Sep 28, 2024
1 parent e4cfe27 commit d530cb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clash_lib/src/app/dns/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ mod tests {
if let RData::A(ref ip) = answers[0].data() {
assert_eq!(*ip, A::new(93, 184, 215, 14))
} else {
assert!(false, "unexpected result")
unreachable!("unexpected result")
}
}

Expand Down Expand Up @@ -399,7 +399,7 @@ mod tests {
let listener = super::get_dns_listener(
cfg,
Arc::new(resolver),
&std::path::Path::new("."),
std::path::Path::new("."),
)
.await;

Expand Down

0 comments on commit d530cb8

Please sign in to comment.