matrix-sdk: Remove an unneeded lifetime.
parent
b628e6286a
commit
a4980e8a04
|
@ -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"))]
|
||||||
|
|
Loading…
Reference in New Issue