diff options
author | Mickaƫl FORTUNATO <morsi.morsicus@gmail.com> | 2016-06-24 13:29:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-24 13:29:47 +0200 |
commit | 235e70be74634dc485c7888b7150719ceacde07d (patch) | |
tree | 6ace048fc975f193c8647a5de0171846bcb39706 /README.md | |
parent | 9593c2a29834f373c5cd5ba419ca9556c1d2d43d (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.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |