From e92b97eff6d5e1ce146ffc41cb01b5df5d94a45b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Tue, 23 Mar 2021 14:29:26 +0100 Subject: [PATCH] matrix-sdk: Fix the example for the room_send() method --- matrix_sdk/src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_sdk/src/client.rs b/matrix_sdk/src/client.rs index 9307dd66..a39a894c 100644 --- a/matrix_sdk/src/client.rs +++ b/matrix_sdk/src/client.rs @@ -1048,7 +1048,7 @@ impl Client { /// ); /// /// let txn_id = Uuid::new_v4(); - /// client.send(room_id, content, Some(txn_id)).await.unwrap(); + /// client.room_send(&room_id, content, Some(txn_id)).await.unwrap(); /// # }) /// ``` pub async fn room_send(