summaryrefslogtreecommitdiffstats
path: root/examples/networkinspect.rs
diff options
context:
space:
mode:
authorsoftprops <d.tangren@gmail.com>2017-06-25 21:29:32 -0400
committersoftprops <d.tangren@gmail.com>2017-06-25 21:29:32 -0400
commit6d784b1e4f7da7bbe837d32f040a37634208e73c (patch)
treea13627f8e5f2c7f805640e90a1a4ff7dfb57e373 /examples/networkinspect.rs
parentfe51ec45f98f215a7158bf64b9f10b80ce04e720 (diff)
apply rustfmt
Diffstat (limited to 'examples/networkinspect.rs')
-rw-r--r--examples/networkinspect.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/networkinspect.rs b/examples/networkinspect.rs
index f290f93..f88b3c2 100644
--- a/examples/networkinspect.rs
+++ b/examples/networkinspect.rs
@@ -6,10 +6,7 @@ use std::env;
fn main() {
let docker = Docker::new();
if let Some(id) = env::args().nth(1) {
- let network = docker.networks()
- .get(&id)
- .inspect()
- .unwrap();
+ let network = docker.networks().get(&id).inspect().unwrap();
println!("{:?}", network);
}
}