Skip to content

Commit ea66980

Browse files
quanweiZhouquanwei.zqw
authored andcommitted
client: cargo fmt --all
cargo fmt --all Fixes: #255 Signed-off-by: Quanwei Zhou <quanweiZhou@linux.alibaba.com>
1 parent 8caf5ec commit ea66980

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

example/client.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ fn main() {
5353
panic!("not expecting an error from the example server: {:?}", e)
5454
}
5555
Ok(x) => {
56-
panic!("not expecting a OK response from the example server: {:?}", x)
56+
panic!(
57+
"not expecting a OK response from the example server: {:?}",
58+
x
59+
)
5760
}
5861
}
5962
println!(
@@ -107,7 +110,10 @@ fn main() {
107110
panic!("not expecting an error from the example server: {:?}", e)
108111
}
109112
Ok(s) => {
110-
panic!("not expecting a OK response from the example server: {:?}", s)
113+
panic!(
114+
"not expecting a OK response from the example server: {:?}",
115+
s
116+
)
111117
}
112118
};
113119
println!(

0 commit comments

Comments
 (0)