Skip to content

Commit

Permalink
Fix non-std clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Marta Mularczyk committed Jan 16, 2025
1 parent a852fee commit c01367c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mls-rs/src/group/commit/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use alloc::boxed::Box;
use alloc::{vec, vec::Vec};

#[cfg(feature = "psk")]
use itertools::Itertools;
use mls_rs_codec::{MlsDecode, MlsEncode, MlsSize};
use mls_rs_core::{crypto::SignatureSecretKey, error::IntoAnyError};
Expand Down Expand Up @@ -250,8 +251,6 @@ where

#[cfg(feature = "psk")]
fn apply_psk(mut self, id: JustPreSharedKeyID, psk: crate::psk::PreSharedKey) -> Self {
use itertools::Itertools;

if let Some((i, proposal)) = self
.proposals
.psks
Expand Down

0 comments on commit c01367c

Please sign in to comment.