matrix-sdk: Remove an unneeded lifetime.

This commit is contained in:
Damir Jelić 2020-09-14 20:38:53 +02:00
parent b628e6286a
commit a4980e8a04

View file

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