Task #67948 - added.err

back to task #67948
download
Error: CLIPPY_WARNING:
crates/lib/src/install.rs:1481:24: warning: called `.as_ref().map(|s| s.as_str())` on an `Option` value
#       |
#  1481 |       let source_image = opts
#       |  ________________________^
#  1482 | |         .source_opts
#  1483 | |         .source_imgref
#  1484 | |         .as_ref()
#  1485 | |         .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
#       |
#  1481 ~     let source_image = opts
#  1482 +         .source_opts
#  1483 +         .source_imgref.as_deref()
#       |

Error: CLIPPY_WARNING:
crates/lib/src/install.rs:1726:24: warning: called `.as_ref().map(|s| s.as_str())` on an `Option` value
#       |
#  1726 |       let source_image = opts
#       |  ________________________^
#  1727 | |         .source_opts
#  1728 | |         .source_imgref
#  1729 | |         .as_ref()
#  1730 | |         .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
#       |
#  1726 ~     let source_image = opts
#  1727 +         .source_opts
#  1728 +         .source_imgref.as_deref()
#       |

Error: CLIPPY_WARNING:
crates/lib/src/install.rs:1978:24: warning: called `.as_ref().map(|s| s.as_str())` on an `Option` value
#       |
#  1978 |       let source_image = opts
#       |  ________________________^
#  1979 | |         .source_opts
#  1980 | |         .source_imgref
#  1981 | |         .as_ref()
#  1982 | |         .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
#       |
#  1978 ~     let source_image = opts
#  1979 +         .source_opts
#  1980 +         .source_imgref.as_deref()
#       |