Task #55340 - added.err

back to task #55340
download
Error: CLIPPY_WARNING:
lib/src/spec.rs:98:5: warning: this block may be rewritten with the `?` operator
#      |
#  98  | /     if reference.tag().is_none() {
#  99  | |         return None;
#  100 | |     }
#      | |_____^ help: replace it with: `reference.tag()?;`
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark
#      = note: `#[warn(clippy::question_mark)]` on by default

Error: CLIPPY_WARNING:
lib/src/spec.rs:103:5: warning: this `let...else` may be rewritten with the `?` operator
#      |
#  103 | /     let Some(digest) = reference.digest() else {
#  104 | |         return None;
#  105 | |     };
#      | |______^ help: replace it with: `let digest = reference.digest()?;`
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark