Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert committed Jan 30, 2025
1 parent abae096 commit 0694238
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions neqo-transport/src/packet/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,17 @@ impl MetaData<'_> {
}
}

#[must_use]
pub const fn direction(&self) -> Direction {
self.direction
}

#[must_use]
pub const fn length(&self) -> usize {
self.len
}

#[must_use]
pub const fn payload(&self) -> &[u8] {
self.payload
}
Expand Down

0 comments on commit 0694238

Please sign in to comment.