Skip to content

Commit

Permalink
remove with_reason
Browse files Browse the repository at this point in the history
  • Loading branch information
WesleyRosenblum committed Feb 8, 2024
1 parent d3d6bc2 commit 1dcb615
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions quic/s2n-quic-core/src/crypto/packet_protection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@ pub struct Error {
}

impl Error {
/// Sets the reason for the `packet_protection::Error`
#[must_use]
pub const fn with_reason(mut self, reason: &'static str) -> Self {
self.reason = reason;
self
}

pub const DECODE_ERROR: Self = Self {
reason: "DECODE_ERROR",
};
Expand Down

0 comments on commit 1dcb615

Please sign in to comment.