From cdb8b5c1e95f9dd14711fafaa5741d9fdb8f07c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Thu, 13 Aug 2020 10:25:57 +0200 Subject: [PATCH] matrix-sdk: Fix a couple of typoes. --- matrix_sdk/src/client.rs | 2 +- matrix_sdk_base/src/client.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/matrix_sdk/src/client.rs b/matrix_sdk/src/client.rs index 25f1c17d..5f73d959 100644 --- a/matrix_sdk/src/client.rs +++ b/matrix_sdk/src/client.rs @@ -1463,7 +1463,7 @@ impl Client { /// * `device` - The device which we would like to start an interactive /// verification with. /// - /// Returns a `Sas` that represents the interactive verification flow. + /// Returns a `Sas` object that represents the interactive verification flow. #[cfg(feature = "encryption")] #[cfg_attr(docsrs, doc(cfg(feature = "encryption")))] pub async fn start_verification(&self, device: Device) -> Result { diff --git a/matrix_sdk_base/src/client.rs b/matrix_sdk_base/src/client.rs index 190d1274..c29e8219 100644 --- a/matrix_sdk_base/src/client.rs +++ b/matrix_sdk_base/src/client.rs @@ -1876,7 +1876,7 @@ impl BaseClient { /// * `device` - The device which we would like to start an interactive /// verification with. /// - /// Returns a `Sas` object and to-device request that needs to be sent out. + /// Returns a `Sas` object and a to-device request that needs to be sent out. #[cfg(feature = "encryption")] #[cfg_attr(docsrs, doc(cfg(feature = "encryption")))] pub async fn start_verification(&self, device: Device) -> Option<(Sas, OwnedToDeviceRequest)> {