Task #67231 - added.err

back to task #67231
download
Error: CLIPPY_WARNING:
crates/lib/src/install.rs:1458:24: warning: called `.as_ref().map(|s| s.as_str())` on an `Option` value
#       |
#  1458 |       let source_image = opts
#       |  ________________________^
#  1459 | |         .source_opts
#  1460 | |         .source_imgref
#  1461 | |         .as_ref()
#  1462 | |         .map(|s| s.as_str())
#       | |____________________________^
#       |
#       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_as_ref_deref
#       = note: `#[warn(clippy::option_as_ref_deref)]` on by default
#  help: consider using as_deref
#       |
#  1458 ~     let source_image = opts
#  1459 +         .source_opts
#  1460 +         .source_imgref.as_deref()
#       |

Error: CLIPPY_WARNING:
crates/lib/src/install.rs:1711:24: warning: called `.as_ref().map(|s| s.as_str())` on an `Option` value
#       |
#  1711 |       let source_image = opts
#       |  ________________________^
#  1712 | |         .source_opts
#  1713 | |         .source_imgref
#  1714 | |         .as_ref()
#  1715 | |         .map(|s| s.as_str())
#       | |____________________________^
#       |
#       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_as_ref_deref
#  help: consider using as_deref
#       |
#  1711 ~     let source_image = opts
#  1712 +         .source_opts
#  1713 +         .source_imgref.as_deref()
#       |

Error: CLIPPY_WARNING:
crates/lib/src/install.rs:1971:24: warning: called `.as_ref().map(|s| s.as_str())` on an `Option` value
#       |
#  1971 |       let source_image = opts
#       |  ________________________^
#  1972 | |         .source_opts
#  1973 | |         .source_imgref
#  1974 | |         .as_ref()
#  1975 | |         .map(|s| s.as_str())
#       | |____________________________^
#       |
#       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_as_ref_deref
#  help: consider using as_deref
#       |
#  1971 ~     let source_image = opts
#  1972 +         .source_opts
#  1973 +         .source_imgref.as_deref()
#       |