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/containerexec.rs | |
parent | fe51ec45f98f215a7158bf64b9f10b80ce04e720 (diff) |
apply rustfmt
Diffstat (limited to 'examples/containerexec.rs')
-rw-r--r-- | examples/containerexec.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/containerexec.rs b/examples/containerexec.rs index b41d1ac..e10d245 100644 --- a/examples/containerexec.rs +++ b/examples/containerexec.rs @@ -6,7 +6,11 @@ use std::env; fn main() { let docker = Docker::new(); let options = ExecContainerOptions::builder() - .cmd(vec!["bash", "-c", "echo -n \"echo VAR=$VAR on stdout\"; echo -n \"echo VAR=$VAR on stderr\" >&2"]) + .cmd(vec![ + "bash", + "-c", + "echo -n \"echo VAR=$VAR on stdout\"; echo -n \"echo VAR=$VAR on stderr\" >&2", + ]) .env(vec!["VAR=value"]) .attach_stdout(true) .attach_stderr(true) |