Skip to content

Commit

Permalink
Fix Clippy lint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kylewlacy committed Jan 20, 2025
1 parent e37ac4d commit a600dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/object_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ async fn presigned_s3_url(
.await?;

eyre::ensure!(
presigned_request.method().to_ascii_lowercase() == "get",
presigned_request.method().eq_ignore_ascii_case("get"),
"presigned URL has unexpected method {}",
presigned_request.method()
);
Expand Down

0 comments on commit a600dd0

Please sign in to comment.