summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMickaƫl FORTUNATO <morsi.morsicus@gmail.com>2016-06-24 13:29:47 +0200
committerGitHub <noreply@github.com>2016-06-24 13:29:47 +0200
commit235e70be74634dc485c7888b7150719ceacde07d (patch)
tree6ace048fc975f193c8647a5de0171846bcb39706 /README.md
parent9593c2a29834f373c5cd5ba419ca9556c1d2d43d (diff)
Update README.md
Example in README couldn't compile. Compilation error : `PullOptions` is the name of a struct or struct variant, but this expression uses it like a function name [E0423] &PullOptions.builder().image("redis:2.8.18").build()
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 8edfb99..2ea8196 100644
--- a/README.md
+++ b/README.md
@@ -78,7 +78,7 @@ for i in image.search("rust").unwrap() {
```rust
use shiplift::PullOptions;
let output = images.pull(
- &PullOptions.builder().image("redis:2.8.18").build()
+ &PullOptions::builder().image("redis:2.8.18").build()
).unwrap();
for o in output {
println!("{:?}", o);