Skip to content

Commit

Permalink
Fix clippy errors from Rust 1.79.0
Browse files Browse the repository at this point in the history
Signed-off-by: David Calavera <[email protected]>
  • Loading branch information
calavera committed Jun 14, 2024
1 parent 85b0701 commit bbef421
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lambda-runtime-api-client/src/body/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ pub use sender::Sender;
pub(crate) struct DecodedLength(u64);

impl DecodedLength {
pub(crate) const CLOSE_DELIMITED: DecodedLength = DecodedLength(::std::u64::MAX);
pub(crate) const CHUNKED: DecodedLength = DecodedLength(::std::u64::MAX - 1);
pub(crate) const CLOSE_DELIMITED: DecodedLength = DecodedLength(u64::MAX);
pub(crate) const CHUNKED: DecodedLength = DecodedLength(u64::MAX - 1);
pub(crate) const ZERO: DecodedLength = DecodedLength(0);

pub(crate) fn sub_if(&mut self, amt: u64) {
Expand Down

0 comments on commit bbef421

Please sign in to comment.