From af01c64712730862b375f67ddab091a1bd4845e4 Mon Sep 17 00:00:00 2001 From: Julian Sparber Date: Wed, 11 May 2022 11:01:54 +0200 Subject: [PATCH] Fix doc ofr room::Common::decrypt_event() --- crates/matrix-sdk/src/room/common.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/matrix-sdk/src/room/common.rs b/crates/matrix-sdk/src/room/common.rs index dd35960be..d94f3a8bb 100644 --- a/crates/matrix-sdk/src/room/common.rs +++ b/crates/matrix-sdk/src/room/common.rs @@ -911,7 +911,7 @@ impl Common { /// # Arguments /// * `event` - The room event to be decrypted. /// - /// Returns: + /// Returns the decrypted event if it was encrypted else `None` #[cfg(feature = "e2e-encryption")] pub async fn decrypt_event(&self, event: &E) -> Result> where