Skip to content

Commit

Permalink
chore: satisfy rust 1.85 clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
coriolinus committed Feb 21, 2025
1 parent a860bc3 commit 74de654
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion crypto/src/mls/conversation/commit_delay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ impl MlsConversation {

Result::<_, MlsError>::Ok(acc)
})
.map_err(MlsError::from)
.unwrap_or_default();

// Post-commit visualization of the number of members after remove proposals
Expand Down
2 changes: 1 addition & 1 deletion crypto/src/mls/conversation/conversation_guard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ impl ConversationGuard {

fn group_info(group_info: Option<GroupInfo>) -> Result<MlsGroupInfoBundle> {
let group_info = group_info.ok_or(LeafError::MissingGroupInfo)?;
MlsGroupInfoBundle::try_new_full_plaintext(group_info).map_err(Into::into)
MlsGroupInfoBundle::try_new_full_plaintext(group_info)
}

/// Adds new members to the group/conversation
Expand Down

0 comments on commit 74de654

Please sign in to comment.