Task #58397 - added.err
back to task #58397download
Error: CLIPPY_WARNING:
ostree-ext/src/cli.rs:1137:21: warning: unneeded late initialization
# |
# 1137 | let json: String;
# | ^^^^^^^^^^^^^^^^^
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_late_init
# = note: `#[warn(clippy::needless_late_init)]` on by default
# help: move the declaration `json` here and remove the assignments from the branches
# |
# 1137 ~
# 1138 ~ let json: String = if config {
# 1139 ~ to_canonical_json_string(&image.configuration)?
# 1140 | } else {
# 1141 ~ to_canonical_json_string(&image.manifest)?
# 1142 ~ };
# |