Skip to content

Commit

Permalink
sprinkle more allows
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Jan 10, 2025
1 parent 0fdfccd commit a549dc5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions object_store/src/aws/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ pub(crate) struct Request<'a> {
retry_error_body: bool,
}

#[allow(clippy::needless_lifetimes)]
impl<'a> Request<'a> {
pub(crate) fn query<T: Serialize + ?Sized + Sync>(self, query: &T) -> Self {
let builder = self.builder.query(query);
Expand Down
1 change: 1 addition & 0 deletions object_store/src/azure/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ struct PutRequest<'a> {
idempotent: bool,
}

#[allow(clippy::needless_lifetimes)]
impl<'a> PutRequest<'a> {
fn header(self, k: &HeaderName, v: &str) -> Self {
let builder = self.builder.header(k, v);
Expand Down
1 change: 1 addition & 0 deletions object_store/src/gcp/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ pub(crate) struct Request<'a> {
idempotent: bool,
}

#[allow(clippy::needless_lifetimes)]
impl<'a> Request<'a> {
fn header(self, k: &HeaderName, v: &str) -> Self {
let builder = self.builder.header(k, v);
Expand Down

0 comments on commit a549dc5

Please sign in to comment.