Skip to content

Commit 37fce55

Browse files
committed
style: cargo fmt
1 parent 250ee6a commit 37fce55

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

query/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ impl<'a> UdfQueryParser<'a> {
8080

8181
for code in blocks {
8282
let code = lang.formatter.format(code);
83-
udfs.extend(WasmScalarUdf::new(lang.component, permissions, io_rt.clone(), code).await?);
83+
udfs.extend(
84+
WasmScalarUdf::new(lang.component, permissions, io_rt.clone(), code).await?,
85+
);
8486
}
8587
}
8688

query/tests/integration.rs

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,12 @@ async fn test_strip_indentation_everything_indented() {
314314
},
315315
)]));
316316
let parsed_query = parser
317-
.parse(&query, &WasmPermissions::new(), Handle::current(), ctx.task_ctx().as_ref())
317+
.parse(
318+
&query,
319+
&WasmPermissions::new(),
320+
Handle::current(),
321+
ctx.task_ctx().as_ref(),
322+
)
318323
.await
319324
.unwrap();
320325

@@ -360,7 +365,12 @@ async fn test_strip_indentation_empty_lines_not_indented() {
360365
},
361366
)]));
362367
let parsed_query = parser
363-
.parse(&query, &WasmPermissions::new(), Handle::current(), ctx.task_ctx().as_ref())
368+
.parse(
369+
&query,
370+
&WasmPermissions::new(),
371+
Handle::current(),
372+
ctx.task_ctx().as_ref(),
373+
)
364374
.await
365375
.unwrap();
366376

@@ -405,7 +415,12 @@ async fn test_strip_indentation_python_further_indented() {
405415
},
406416
)]));
407417
let parsed_query = parser
408-
.parse(&query, &WasmPermissions::new(), Handle::current(), ctx.task_ctx().as_ref())
418+
.parse(
419+
&query,
420+
&WasmPermissions::new(),
421+
Handle::current(),
422+
ctx.task_ctx().as_ref(),
423+
)
409424
.await
410425
.unwrap();
411426

0 commit comments

Comments
 (0)