Task #98499 - added.err
back to task #98499download
Error: CLIPPY_WARNING:
crates/xtask/src/tmt.rs:1121:9: warning: this `if` statement can be collapsed
# |
# 1121 | / if let serde_yaml::Value::Mapping(map) = &test.tmt {
# 1122 | | if let Some(adjust) = map.get(&serde_yaml::Value::String(FIELD_ADJUST.to_string())) {
# 1123 | | plan_value.insert(
# 1124 | | serde_yaml::Value::String(FIELD_ADJUST.to_string()),
# ... |
# 1128 | | }
# | |_________^
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#collapsible_if
# help: collapse nested if block
# |
# 1121 ~ if let serde_yaml::Value::Mapping(map) = &test.tmt
# 1122 ~ && let Some(adjust) = map.get(&serde_yaml::Value::String(FIELD_ADJUST.to_string())) {
# 1123 | plan_value.insert(
# ...
# 1126 | );
# 1127 ~ }
# |