Skip to content

Commit

Permalink
fix typos in cherry-picking_
Browse files Browse the repository at this point in the history
  • Loading branch information
germ-mark committed Dec 11, 2024
1 parent 8029065 commit 16854ef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion mls-rs/src/group/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ where
let mut new_leaf_node: LeafNode = self.current_user_leaf_node()?.clone();
let new_leaf_node_extensions =
leaf_node_extensions.unwrap_or(new_leaf_node.ungreased_extensions());
let properties = self.config.leaf_properties(new_leaf_node_extensions)
let properties = self.config.leaf_properties(new_leaf_node_extensions);

#[cfg(feature = "replace_proposal")]
let mut properties = properties;
Expand Down
4 changes: 2 additions & 2 deletions mls-rs/src/group/proposal_filter/filtering.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ where
.check_if_valid(
leaf,
ValidationContext::Update((
self.group_id,
&self.original_context.group_id,
*to_replace,
commit_time,
)),
Expand All @@ -282,7 +282,7 @@ where
.valid_successor(
&old_leaf.signing_identity,
&leaf.signing_identity,
group_extensions_in_use,
new_extensions,
)
.await
.map_err(|e| MlsError::IdentityProviderError(e.into_any_error()))
Expand Down
6 changes: 1 addition & 5 deletions mls-rs/src/group/snapshot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use crate::{
group::{
message_hash::MessageHash,
proposal_cache::{CachedProposal, ProposalCache},
ProposalMessageDescription, ProposalRef,
ProposalMessageDescription, ProposalRef, PendingUpdate
},
map::SmallMap,
};
Expand All @@ -29,10 +29,6 @@ use mls_rs_core::crypto::SignatureSecretKey;
#[cfg(feature = "tree_index")]
use mls_rs_core::identity::IdentityProvider;

use super::{
state_repo::PendingUpdate,
};

#[derive(Debug, PartialEq, Clone, MlsEncode, MlsDecode, MlsSize)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub(crate) struct Snapshot {
Expand Down

0 comments on commit 16854ef

Please sign in to comment.