From 3e9866b81d4454981a609da3e7531ace44da1568 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Mon, 10 Jun 2024 13:21:46 +0200 Subject: [PATCH] chore: Fix a formatting issue --- src/olm/session/mod.rs | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/olm/session/mod.rs b/src/olm/session/mod.rs index 59c72a20..5d435c0d 100644 --- a/src/olm/session/mod.rs +++ b/src/olm/session/mod.rs @@ -127,22 +127,20 @@ impl Default for ChainStore { /// Olm sessions have two important properties: /// /// 1. They are based on a double ratchet algorithm which continuously -/// introduces new entropy into the channel as messages are sent and -/// received. This imbues the channel with *self-healing* properties, -/// allowing it to recover from a momentary loss of confidentiality in the event -/// of a key compromise. +/// introduces new entropy into the channel as messages are sent and +/// received. This imbues the channel with *self-healing* properties, +/// allowing it to recover from a momentary loss of confidentiality in the +/// event of a key compromise. /// 2. They are *asynchronous*, allowing the participant to start sending -/// messages to the other side even if the other participant is not online at -/// the moment. +/// messages to the other side even if the other participant is not online at +/// the moment. /// /// An Olm [`Session`] is acquired from an [`Account`], by calling either /// /// - [`Account::create_outbound_session`], if you are the first participant to -/// send a message in -/// this channel, or +/// send a message in this channel, or /// - [`Account::create_inbound_session`], if the other participant initiated -/// the channel by -/// sending you a message. +/// the channel by sending you a message. /// /// [`Account`]: crate::olm::Account /// [`Account::create_outbound_session`]: crate::olm::Account::create_outbound_session