Fix doc ofr room::Common::decrypt_event()

This commit is contained in:
Julian Sparber
2022-05-11 11:01:54 +02:00
parent 5501378a77
commit af01c64712

View File

@@ -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<E>(&self, event: &E) -> Result<Option<RoomEvent>>
where