From a4980e8a04446bb5935d064cdbc3ba207e8c08b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Mon, 14 Sep 2020 20:38:53 +0200 Subject: [PATCH] matrix-sdk: Remove an unneeded lifetime. --- matrix_sdk/src/client.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matrix_sdk/src/client.rs b/matrix_sdk/src/client.rs index 68bf3963..7e593a16 100644 --- a/matrix_sdk/src/client.rs +++ b/matrix_sdk/src/client.rs @@ -1089,10 +1089,10 @@ impl Client { } #[allow(missing_docs)] - pub async fn room_send_attachment<'a, R: Read>( + pub async fn room_send_attachment( &self, room_id: &RoomId, - reader: &'a mut R, + reader: &mut R, txn_id: Option, ) -> Result { #[cfg(not(feature = "encryption"))]