Skip to content

Commit

Permalink
fix: clippy std::usize::MAX to usize::MAX
Browse files Browse the repository at this point in the history
  • Loading branch information
jbr authored and notgull committed Jul 4, 2024
1 parent ef0cb32 commit 84bfdf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ impl Stream for Signals {
#[inline]
fn size_hint(&self) -> (usize, Option<usize>) {
// This stream is expected to never end.
(std::usize::MAX, None)
(usize::MAX, None)
}
}

Expand All @@ -417,6 +417,6 @@ impl Stream for &Signals {
#[inline]
fn size_hint(&self) -> (usize, Option<usize>) {
// This stream is expected to never end.
(std::usize::MAX, None)
(usize::MAX, None)
}
}

0 comments on commit 84bfdf8

Please sign in to comment.