From 621b1b08e4a277a699c46a09374287726a163320 Mon Sep 17 00:00:00 2001 From: Devin R Date: Mon, 25 May 2020 07:46:50 -0400 Subject: [PATCH] async_client: read_marker/receipt doc fixes --- matrix_sdk/src/client.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/matrix_sdk/src/client.rs b/matrix_sdk/src/client.rs index ca05d4af..e0355edd 100644 --- a/matrix_sdk/src/client.rs +++ b/matrix_sdk/src/client.rs @@ -740,9 +740,9 @@ impl Client { /// /// # Arguments /// - /// * `room_id` - The `RoomId` the user is typing in. + /// * `room_id` - The `RoomId` the user is currently in. /// - /// * `event_id` - The `UserId` of the user that is typing. + /// * `event_id` - The `EventId` specifies the event to set the read receipt on. pub async fn read_receipt( &self, room_id: &RoomId, @@ -758,15 +758,15 @@ impl Client { /// Send a request to notify the room user has read up to specific event. /// - /// Returns a `create_typing_event::Response`, an empty response. + /// Returns a `set_read_marker::Response`, an empty response. /// /// # Arguments /// - /// * room_id - The `RoomId` the user is typing in. + /// * room_id - The `RoomId` the user is currently in. /// /// * fully_read - The `EventId` of the event the user has read to. /// - /// * read_receipt - The `EventId` to set the read receipt location at. + /// * read_receipt - An `EventId` to specify the event to set the read receipt on. pub async fn read_marker( &self, room_id: &RoomId,