summaryrefslogtreecommitdiffstats
path: root/examples/volumecreate.rs
diff options
context:
space:
mode:
authordoug tangren <d.tangren@gmail.com>2018-12-24 13:11:02 +0900
committerGitHub <noreply@github.com>2018-12-24 13:11:02 +0900
commitebe4a2d80dffb89d1fbceb14dbac3dc6da004fb8 (patch)
treeab56800af4f921388035fd6d9f318f9ec0bd97cc /examples/volumecreate.rs
parent3c06c3a11ba1f7d362bde8b14d94b07b529850e8 (diff)
update to 2018 edition (#141)
* update to 2018 edition * remove more externs * bump version
Diffstat (limited to 'examples/volumecreate.rs')
-rw-r--r--examples/volumecreate.rs9
1 files changed, 2 insertions, 7 deletions
diff --git a/examples/volumecreate.rs b/examples/volumecreate.rs
index d955abe..83f5045 100644
--- a/examples/volumecreate.rs
+++ b/examples/volumecreate.rs
@@ -1,10 +1,5 @@
-extern crate shiplift;
-extern crate tokio;
-
-use shiplift::builder::VolumeCreateOptions;
-use shiplift::Docker;
-use std::collections::HashMap;
-use std::env;
+use shiplift::{builder::VolumeCreateOptions, Docker};
+use std::{collections::HashMap, env};
use tokio::prelude::Future;
fn main() {