matrix-sdk: Fix a couple of typoes.
parent
bf42e1a39f
commit
cdb8b5c1e9
|
@ -1463,7 +1463,7 @@ impl Client {
|
||||||
/// * `device` - The device which we would like to start an interactive
|
/// * `device` - The device which we would like to start an interactive
|
||||||
/// verification with.
|
/// 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(feature = "encryption")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "encryption")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "encryption")))]
|
||||||
pub async fn start_verification(&self, device: Device) -> Result<Sas> {
|
pub async fn start_verification(&self, device: Device) -> Result<Sas> {
|
||||||
|
|
|
@ -1876,7 +1876,7 @@ impl BaseClient {
|
||||||
/// * `device` - The device which we would like to start an interactive
|
/// * `device` - The device which we would like to start an interactive
|
||||||
/// verification with.
|
/// 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(feature = "encryption")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "encryption")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "encryption")))]
|
||||||
pub async fn start_verification(&self, device: Device) -> Option<(Sas, OwnedToDeviceRequest)> {
|
pub async fn start_verification(&self, device: Device) -> Option<(Sas, OwnedToDeviceRequest)> {
|
||||||
|
|
Loading…
Reference in New Issue