Skip to content

Commit

Permalink
style: code fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
KKould committed Oct 7, 2023
1 parent dd1268f commit 2d19e5d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
6 changes: 1 addition & 5 deletions src/execution/executor/dml/copy_from_file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,7 @@ mod tests {
.await;
let storage = db.storage;
let transaction = RefCell::new(storage.transaction().await?);
let actual = executor
.execute(&transaction)
.next()
.await
.unwrap()?;
let actual = executor.execute(&transaction).next().await.unwrap()?;

let tuple_builder = TupleBuilder::new_result();
let expected = tuple_builder
Expand Down
2 changes: 1 addition & 1 deletion src/execution/executor/dml/update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ impl<T: Transaction> Executor<T> for Update {

impl Update {
#[try_stream(boxed, ok = Tuple, error = ExecutorError)]
pub async fn _execute<T: Transaction>(self, transaction: &mut T, ) {
pub async fn _execute<T: Transaction>(self, transaction: &mut T) {
let Update {
table_name,
input,
Expand Down
6 changes: 1 addition & 5 deletions src/execution/executor/dql/join/hash_join.rs
Original file line number Diff line number Diff line change
Expand Up @@ -369,11 +369,7 @@ mod test {
columns: t2_columns,
});

(
on_keys,
values_t1.execute(&_t),
values_t2.execute(&_t),
)
(on_keys, values_t1.execute(&_t), values_t2.execute(&_t))
}

#[tokio::test]
Expand Down

0 comments on commit 2d19e5d

Please sign in to comment.