chore: Apply clippy (#189)

This commit is contained in:
Lucio Franco
2019-12-13 23:55:49 -05:00
committed by GitHub
parent 502491a590
commit 82facb6283
8 changed files with 19 additions and 19 deletions
+6 -6
View File
@@ -17,12 +17,12 @@ use route_guide::routeguide_client::RouteGuideClient;
async fn print_features(client: &mut RouteGuideClient<Channel>) -> Result<(), Box<dyn Error>> {
let rectangle = Rectangle {
lo: Some(Point {
latitude: 400000000,
longitude: -750000000,
latitude: 400_000_000,
longitude: -750_000_000,
}),
hi: Some(Point {
latitude: 420000000,
longitude: -730000000,
latitude: 420_000_000,
longitude: -730_000_000,
}),
};
@@ -96,8 +96,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
println!("*** SIMPLE RPC ***");
let response = client
.get_feature(Request::new(Point {
latitude: 409146138,
longitude: -746188906,
latitude: 409_146_138,
longitude: -746_188_906,
}))
.await?;
println!("RESPONSE = {:?}", response);