matrix-sdk: Remove an unneeded lifetime.

master
Damir Jelić 2020-09-14 20:38:53 +02:00
parent b628e6286a
commit a4980e8a04
1 changed files with 2 additions and 2 deletions

View File

@ -1089,10 +1089,10 @@ impl Client {
} }
#[allow(missing_docs)] #[allow(missing_docs)]
pub async fn room_send_attachment<'a, R: Read>( pub async fn room_send_attachment<R: Read>(
&self, &self,
room_id: &RoomId, room_id: &RoomId,
reader: &'a mut R, reader: &mut R,
txn_id: Option<Uuid>, txn_id: Option<Uuid>,
) -> Result<send_message_event::Response> { ) -> Result<send_message_event::Response> {
#[cfg(not(feature = "encryption"))] #[cfg(not(feature = "encryption"))]