Skip to content

Commit

Permalink
Remove unnecessary lifetime constraint
Browse files Browse the repository at this point in the history
Signed-off-by: Alessandro Passaro <alexpax@amazon.co.uk>
  • Loading branch information
passaro committed May 14, 2024
1 parent 4386a95 commit e46dfa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mountpoint-s3-crt/src/s3/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ impl MetaRequest {
/// returned.
/// Once an invocation with `eof == true` returns with the empty slice, subsequent invocations
/// will fail with an AWS_ERROR_INVALID_STATE error.
pub fn write<'r, 's: 'r>(&'r mut self, slice: &'s [u8], eof: bool) -> MetaRequestWrite<'r, 's> {
pub fn write<'r, 's>(&'r mut self, slice: &'s [u8], eof: bool) -> MetaRequestWrite<'r, 's> {
MetaRequestWrite::new(self, slice, eof)
}
}
Expand Down

0 comments on commit e46dfa2

Please sign in to comment.