Task #141436 - fixed.err
back to task #141436download
Error: CLIPPY_WARNING:
crates/xtask/src/tmt.rs:1326:9: warning: this `if` statement can be collapsed
# |
# 1326 | / if let serde_yaml::Value::Mapping(map) = &test.tmt {
# 1327 | | if let Some(adjust) = map.get(&serde_yaml::Value::String(FIELD_ADJUST.to_string())) {
# 1328 | | plan_value.insert(
# 1329 | | serde_yaml::Value::String(FIELD_ADJUST.to_string()),
# ... |
# 1333 | | }
# | |_________^
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#collapsible_if
# help: collapse nested if block
# |
# 1326 ~ if let serde_yaml::Value::Mapping(map) = &test.tmt
# 1327 ~ && let Some(adjust) = map.get(&serde_yaml::Value::String(FIELD_ADJUST.to_string())) {
# 1328 | plan_value.insert(
# ...
# 1331 | );
# 1332 ~ }
# |