Task #80567 - added.err
back to task #80567download
Error: CLIPPY_WARNING:
crates/tests-integration/src/container.rs:56:5: warning: matching on `Some` with `ok()` is redundant
# |
# 56 | if let Some(variant) = std::env::var("BOOTC_variant").ok() {
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#match_result_ok
# = note: `#[warn(clippy::match_result_ok)]` on by default
# help: consider matching on `Ok(variant)` and removing the call to `ok` instead
# |
# 56 - if let Some(variant) = std::env::var("BOOTC_variant").ok() {
# 56 + if let Ok(variant) = std::env::var("BOOTC_variant") {
# |
Error: CLIPPY_WARNING:
crates/tests-integration/src/container.rs:69:5: warning: matching on `Some` with `ok()` is redundant
# |
# 69 | if let Some(base) = std::env::var("BOOTC_base").ok() {
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#match_result_ok
# help: consider matching on `Ok(base)` and removing the call to `ok` instead
# |
# 69 - if let Some(base) = std::env::var("BOOTC_base").ok() {
# 69 + if let Ok(base) = std::env::var("BOOTC_base") {
# |