Skip to content

Commit

Permalink
Fix documentation for CommitOutput::rather_tree (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeisler authored Mar 13, 2024
1 parent 2d92710 commit f23c6e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mls-rs/src/group/commit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ pub struct CommitOutput {
pub welcome_messages: Vec<MlsMessage>,
/// Ratchet tree that can be sent out of band if
/// `ratchet_tree_extension` is not used according to
/// [`MlsRules::encryption_options`].
/// [`MlsRules::commit_options`].
pub ratchet_tree: Option<ExportedTree<'static>>,
/// A group info that can be provided to new members in order to enable external commit
/// functionality. This value is set if [`MlsRules::commit_options`] returns
Expand All @@ -151,7 +151,7 @@ impl CommitOutput {

/// Ratchet tree that can be sent out of band if
/// `ratchet_tree_extension` is not used according to
/// [`MlsRules::encryption_options`].
/// [`MlsRules::commit_options`].
#[cfg(feature = "ffi")]
pub fn ratchet_tree(&self) -> Option<&ExportedTree<'static>> {
self.ratchet_tree.as_ref()
Expand Down

0 comments on commit f23c6e4

Please sign in to comment.