diff options
author | softprops <d.tangren@gmail.com> | 2017-06-25 21:29:32 -0400 |
---|---|---|
committer | softprops <d.tangren@gmail.com> | 2017-06-25 21:29:32 -0400 |
commit | 6d784b1e4f7da7bbe837d32f040a37634208e73c (patch) | |
tree | a13627f8e5f2c7f805640e90a1a4ff7dfb57e373 /examples/top.rs | |
parent | fe51ec45f98f215a7158bf64b9f10b80ce04e720 (diff) |
apply rustfmt
Diffstat (limited to 'examples/top.rs')
-rw-r--r-- | examples/top.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/top.rs b/examples/top.rs index 567107e..79a7f07 100644 --- a/examples/top.rs +++ b/examples/top.rs @@ -6,7 +6,11 @@ use std::env; fn main() { let docker = Docker::new(); if let Some(id) = env::args().nth(1) { - let top = docker.containers().get(&id).top(Default::default()).unwrap(); + let top = docker + .containers() + .get(&id) + .top(Default::default()) + .unwrap(); println!("{:?}", top); } } |