From 9c4229dc57256f1f3c76ac84b61db2d18433f9e7 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Mon, 10 Aug 2020 13:15:49 +0100 Subject: [PATCH] typoes --- matrix_sdk/src/client.rs | 6 +++--- matrix_sdk_base/src/client.rs | 2 +- matrix_sdk_base/src/state/json_store.rs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/matrix_sdk/src/client.rs b/matrix_sdk/src/client.rs index 0298b1df..b53dbb31 100644 --- a/matrix_sdk/src/client.rs +++ b/matrix_sdk/src/client.rs @@ -962,7 +962,7 @@ impl Client { /// * `content` - The content of the message event. /// /// * `txn_id` - A unique `Uuid` that can be attached to a `MessageEvent` held - /// in it's unsigned field as `transaction_id`. If not given one is created for the + /// in its unsigned field as `transaction_id`. If not given one is created for the /// message. /// /// # Example @@ -2352,7 +2352,7 @@ mod test { .unwrap(); let logged_in = client.logged_in().await; - assert!(logged_in, "Clint should be logged in"); + assert!(logged_in, "Client should be logged in"); } #[tokio::test] @@ -2372,7 +2372,7 @@ mod test { .unwrap(); let logged_in = client.logged_in().await; - assert!(logged_in, "Clint should be logged in"); + assert!(logged_in, "Client should be logged in"); } #[tokio::test] diff --git a/matrix_sdk_base/src/client.rs b/matrix_sdk_base/src/client.rs index 0719e593..ed082d53 100644 --- a/matrix_sdk_base/src/client.rs +++ b/matrix_sdk_base/src/client.rs @@ -177,7 +177,7 @@ pub enum RoomState { /// A no IO Client implementation. /// /// This Client is a state machine that receives responses and events and -/// accordingly updates it's state. +/// accordingly updates its state. #[derive(Clone)] pub struct BaseClient { /// The current client session containing our user id, device id and access diff --git a/matrix_sdk_base/src/state/json_store.rs b/matrix_sdk_base/src/state/json_store.rs index e0b7f3b8..1eea500b 100644 --- a/matrix_sdk_base/src/state/json_store.rs +++ b/matrix_sdk_base/src/state/json_store.rs @@ -17,7 +17,7 @@ use crate::{Error, Result, Room, RoomState, Session}; /// A default `StateStore` implementation that serializes state as json /// and saves it to disk. /// -/// When logged in the `JsonStore` appends the user_id to it's folder path, +/// When logged in the `JsonStore` appends the user_id to its folder path, /// so all files are saved in `my_client/user_id_localpart/*`. pub struct JsonStore { path: Arc>,