Task #67507 - added.err
back to task #67507download
Error: CLIPPY_WARNING: crates/lib/src/install.rs:1482:24: warning: called `.as_ref().map(|s| s.as_str())` on an `Option` value # | # 1482 | let source_image = opts # | ________________________^ # 1483 | | .source_opts # 1484 | | .source_imgref # 1485 | | .as_ref() # 1486 | | .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 # | # 1482 ~ let source_image = opts # 1483 + .source_opts # 1484 + .source_imgref.as_deref() # | Error: CLIPPY_WARNING: crates/lib/src/install.rs:1735:24: warning: called `.as_ref().map(|s| s.as_str())` on an `Option` value # | # 1735 | let source_image = opts # | ________________________^ # 1736 | | .source_opts # 1737 | | .source_imgref # 1738 | | .as_ref() # 1739 | | .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 # | # 1735 ~ let source_image = opts # 1736 + .source_opts # 1737 + .source_imgref.as_deref() # | Error: CLIPPY_WARNING: crates/lib/src/install.rs:1995:24: warning: called `.as_ref().map(|s| s.as_str())` on an `Option` value # | # 1995 | let source_image = opts # | ________________________^ # 1996 | | .source_opts # 1997 | | .source_imgref # 1998 | | .as_ref() # 1999 | | .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 # | # 1995 ~ let source_image = opts # 1996 + .source_opts # 1997 + .source_imgref.as_deref() # |