Skip to content

Commit

Permalink
Clippy fix for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelrobert authored and cameronvoell committed Apr 10, 2024
1 parent 58b8bde commit 88bf75c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openmls/src/framing/mls_content.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,8 @@ pub(crate) fn framed_content_tbs_serialized<'context, W: Write>(
// NewMemberCommit.
written += match serialized_context.into() {
Some(context) if matches!(sender, Sender::Member(_) | Sender::NewMemberCommit) => {
writer.write(context)?
writer.write_all(context)?;
context.len()
}
_ => 0,
};
Expand Down

0 comments on commit 88bf75c

Please sign in to comment.