Skip to content

Commit

Permalink
feat: fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiKaiWi committed May 23, 2023
1 parent faee33f commit 9b92894
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions catalog/src/table_operator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ impl TableOperator {
async fn open_tables_of_shard(
table_engine: TableEngineRef,
open_requests: Vec<table_engine::engine::OpenTableRequest>,
missing_tables_request: &mut Vec<OpenTableRequest>,
missing_table_reqs: &mut Vec<table_engine::engine::OpenTableRequest>,
) -> Vec<table_engine::engine::Result<Option<TableRef>>> {
if open_requests.is_empty() {
return Vec::new();
Expand All @@ -316,7 +316,7 @@ async fn open_tables_of_shard(
});

if let Ok(None) = result {
missing_tables.push(request);
missing_table_reqs.push(request);
}

open_results.push(result);
Expand Down

0 comments on commit 9b92894

Please sign in to comment.