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
+1 -1
View File
@@ -8,7 +8,7 @@ use tonic::transport::Channel;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let endpoints = ["http://[::1]:50051", "http://[::1]:50052"]
.into_iter()
.iter()
.map(|a| Channel::from_static(a));
let channel = Channel::balance_list(endpoints);