Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
jiacai2050 committed Feb 28, 2023
1 parent 4fe202a commit f242448
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion router/src/cluster_based.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ fn make_route(table_name: &str, endpoint: &str) -> Result<Route> {
Ok(Route {
table: table_name.to_string(),
endpoint: Some(endpoint.into()),
..Default::default()
})
}

Expand Down
1 change: 0 additions & 1 deletion router/src/rule_based.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ impl Router for RuleBasedRouter {
let route = Route {
table,
endpoint: Some(pb_endpoint),
..Default::default()
};
route_results.push(route);
}
Expand Down

0 comments on commit f242448

Please sign in to comment.