From f23c6e464a8ff68fafa4e0749b6ca6d025d4f5fa Mon Sep 17 00:00:00 2001 From: Martin Geisler Date: Wed, 13 Mar 2024 10:11:33 +0100 Subject: [PATCH] Fix documentation for `CommitOutput::rather_tree` (#109) The ratchet tree extension is configured in https://docs.rs/mls-rs/latest/mls_rs/group/mls_rules/struct.CommitOptions.html. --- mls-rs/src/group/commit.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mls-rs/src/group/commit.rs b/mls-rs/src/group/commit.rs index a1d51dd1..c201057c 100644 --- a/mls-rs/src/group/commit.rs +++ b/mls-rs/src/group/commit.rs @@ -124,7 +124,7 @@ pub struct CommitOutput { pub welcome_messages: Vec, /// 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>, /// 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 @@ -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()