Skip to content

Commit 45fdfa0

Browse files
committed
Disable lint with false positive
1 parent d561e20 commit 45fdfa0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lychee-bin/src/stats.rs

+2
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ impl ResponseStats {
5959
let Response(source, ResponseBody { ref status, .. }) = response;
6060
self.increment_status_counters(status);
6161

62+
// Disable lint, clippy thinks that InputSource has inner mutability, but this seems like a flase positive
63+
#[allow(clippy::mutable_key_type)]
6264
match status {
6365
_ if status.is_failure() => {
6466
let fail = self.fail_map.entry(source).or_default();

0 commit comments

Comments
 (0)