Skip to content

Commit

Permalink
Fix lifetime on send()
Browse files Browse the repository at this point in the history
  • Loading branch information
AVee committed Jun 6, 2024
1 parent 6cba0f9 commit 46e36a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ where
///
/// The response is returned.
pub async fn send<'req, 'buf, B: RequestBody>(
&'req mut self,
&'conn mut self,
request: Request<'req, B>,
rx_buf: &'buf mut [u8],
) -> Result<Response<'req, 'buf, HttpConnection<'conn, T>>, Error> {
Expand Down

0 comments on commit 46e36a3

Please sign in to comment.