Skip to content

Commit

Permalink
style: cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
yang20150702 committed Jul 1, 2024
1 parent 075f9ac commit 2ec0197
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/greeter/src/greeter/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@ async fn main() {
);

println!("# unary call");
let resp = cli
.greet(req)
.await;
let resp = cli.greet(req).await;
let resp = match resp {
Ok(resp) => resp,
Err(err) => return println!("response error: {:?}", err),
Expand Down

0 comments on commit 2ec0197

Please sign in to comment.