Skip to content

Commit

Permalink
Resolve lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralith committed Aug 15, 2022
1 parent 7a2e014 commit 0ed2e1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion quinn-proto/src/connection/assembler.rs
Expand Up @@ -218,7 +218,7 @@ impl Assembler {
}

/// A chunk of data from the receive stream
#[derive(Debug, PartialEq)]
#[derive(Debug, PartialEq, Eq)]
pub struct Chunk {
/// The offset in the stream
pub offset: u64,
Expand Down
2 changes: 1 addition & 1 deletion quinn-proto/src/crypto/rustls.rs
Expand Up @@ -354,7 +354,7 @@ impl crypto::PacketKey for PacketKey {
payload: &mut BytesMut,
) -> Result<(), CryptoError> {
let plain = self
.decrypt_in_place(packet, &*header, payload.as_mut())
.decrypt_in_place(packet, header, payload.as_mut())
.map_err(|_| CryptoError)?;
let plain_len = plain.len();
payload.truncate(plain_len);
Expand Down

0 comments on commit 0ed2e1c

Please sign in to comment.