matrix-sdk: Fix a couple of typoes.

master
Damir Jelić 2020-08-13 10:25:57 +02:00
parent bf42e1a39f
commit cdb8b5c1e9
2 changed files with 2 additions and 2 deletions

View File

@ -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<Sas> {

View File

@ -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)> {