Skip to content

Commit

Permalink
fix: linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dnlsndr committed Jan 14, 2025
1 parent 25f51b3 commit 3b7a812
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions axum-extra/src/extract/host.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ mod tests {
.await
.unwrap();

assert!(matches!(host, Some(Host(_))));
assert!(host.is_some());
}

#[crate::test]
Expand All @@ -213,7 +213,7 @@ mod tests {
.await
.unwrap();

assert!(matches!(host, None));
assert!(host.is_none());
}

#[test]
Expand Down

0 comments on commit 3b7a812

Please sign in to comment.