diff options
author | softprops <d.tangren@gmail.com> | 2018-12-24 13:45:42 +0900 |
---|---|---|
committer | softprops <d.tangren@gmail.com> | 2018-12-24 13:45:42 +0900 |
commit | fcc4f7b9c648290887d90c5d8fe91b70e594870d (patch) | |
tree | 714f0a2406dea7372a5b3bfda8227fe03e20125e /examples/images.rs | |
parent | 7d5672fbe1089ef5b02375f7f3f77fe5257e4ec5 (diff) |
maint details
Diffstat (limited to 'examples/images.rs')
-rw-r--r-- | examples/images.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/images.rs b/examples/images.rs index e68c9bb..ab36b3d 100644 --- a/examples/images.rs +++ b/examples/images.rs @@ -9,7 +9,7 @@ fn main() { .list(&Default::default()) .map(|images| { for i in images { - println!("{:?}", i.repo_tags); + println!("{:?}", i.repo_tags.unwrap_or_else(|| vec!["none".into()])); } }) .map_err(|e| eprintln!("Error: {}", e)); |