Skip to content

Commit

Permalink
fix(bindings): address clippy issues from 1.83 (#4941)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmayclin authored Dec 2, 2024
1 parent 087c02e commit 7ff8545
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bindings/rust/s2n-tls-tokio/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ where
stream: &'a mut TlsStream<S, C>,
}

impl<'a, S, C> Future for ApplyBlinding<'a, S, C>
impl<S, C> Future for ApplyBlinding<'_, S, C>
where
C: AsRef<Connection> + AsMut<Connection> + Unpin,
S: AsyncRead + AsyncWrite + Unpin,
Expand Down
2 changes: 1 addition & 1 deletion bindings/rust/s2n-tls/src/cert_chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ pub struct Certificate<'a> {
certificate: NonNull<s2n_cert>,
}

impl<'a> Certificate<'a> {
impl Certificate<'_> {
pub fn der(&self) -> Result<&[u8], Error> {
unsafe {
let mut buffer = ptr::null();
Expand Down

0 comments on commit 7ff8545

Please sign in to comment.