Skip to content

Commit be566e0

Browse files
committed
Run cargo fmt and cargo clippy
1 parent bb5220b commit be566e0

File tree

1 file changed

+3
-8
lines changed
  • src/webserver/database/sqlpage_functions

1 file changed

+3
-8
lines changed

src/webserver/database/sqlpage_functions/s3.rs

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -178,14 +178,9 @@ mod tests {
178178
// Presigning is a local operation for the most part, but it needs credentials.
179179
let client = get_s3_client(&config).await;
180180

181-
let url = get_from_s3_with_client(
182-
&config,
183-
&client,
184-
None,
185-
Cow::Borrowed("my-file.txt"),
186-
)
187-
.await
188-
.unwrap();
181+
let url = get_from_s3_with_client(&config, &client, None, Cow::Borrowed("my-file.txt"))
182+
.await
183+
.unwrap();
189184

190185
assert!(url.contains("my-bucket"));
191186
assert!(url.contains("my-file.txt"));

0 commit comments

Comments
 (0)