From 6872cc717b8b7746ea4c4bec8d143e8653f965ed Mon Sep 17 00:00:00 2001 From: Devin Ragotzy Date: Wed, 26 Aug 2020 16:30:29 -0400 Subject: [PATCH] matrix_sdk: fix Client docs for methods that used request builders --- matrix_sdk/src/client.rs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/matrix_sdk/src/client.rs b/matrix_sdk/src/client.rs index 73d0051b..5daaeade 100644 --- a/matrix_sdk/src/client.rs +++ b/matrix_sdk/src/client.rs @@ -514,7 +514,8 @@ impl Client { /// /// # Arguments /// - /// * `registration` - The easiest way to create this request is using the `RegistrationBuilder`. + /// * `registration` - The easiest way to create this request is using the `register::Request` + /// itself. /// /// /// # Examples @@ -740,7 +741,8 @@ impl Client { /// /// # Arguments /// - /// * `room_search` - The easiest way to create this request is using the `RoomListFilterBuilder`. + /// * `room_search` - The easiest way to create this request is using the + /// `get_public_rooms_filtered::Request` itself. /// /// # Examples /// ```no_run @@ -777,7 +779,8 @@ impl Client { /// /// # Arguments /// - /// * `room` - The easiest way to create this request is using the `RoomBuilder`. + /// * `room` - The easiest way to create this request is using the + /// `create_room::Request` itself. /// /// # Examples /// ```no_run @@ -811,7 +814,7 @@ impl Client { /// # Arguments /// /// * `request` - The easiest way to create this request is using the - /// `MessagesRequestBuilder`. + /// `get_message_events::Request` itself. /// /// # Examples /// ```no_run