Skip to content

moss: Add basic scaffolding for upcoming varlink integration

Sign in for the full log view
GitHub Actions / clippy failed Nov 18, 2024 in 1s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (1)

moss/src/varlink/com_serpentos_moss.rs|104 col 9| warning: this match could be replaced by its body itself
--> moss/src/varlink/com_serpentos_moss.rs:104:9
|
104 | / match e {
105 | | _ => ErrorKind::VarlinkReply_Error,
106 | | }
| |_________^ help: consider using the match body instead: ErrorKind::VarlinkReply_Error
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding
= note: #[warn(clippy::match_single_binding)] on by default

Filtered Findings (0)

Annotations

Check warning on line 104 in moss/src/varlink/com_serpentos_moss.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] moss/src/varlink/com_serpentos_moss.rs#L104

warning: this match could be replaced by its body itself
   --> moss/src/varlink/com_serpentos_moss.rs:104:9
    |
104 | /         match e {
105 | |             _ => ErrorKind::VarlinkReply_Error,
106 | |         }
    | |_________^ help: consider using the match body instead: `ErrorKind::VarlinkReply_Error`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding
    = note: `#[warn(clippy::match_single_binding)]` on by default
Raw output
moss/src/varlink/com_serpentos_moss.rs:104:9:w:warning: this match could be replaced by its body itself
   --> moss/src/varlink/com_serpentos_moss.rs:104:9
    |
104 | /         match e {
105 | |             _ => ErrorKind::VarlinkReply_Error,
106 | |         }
    | |_________^ help: consider using the match body instead: `ErrorKind::VarlinkReply_Error`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding
    = note: `#[warn(clippy::match_single_binding)]` on by default


__END__