.github/workflows/workspace.yml #742
Annotations
3 warnings
Run actions-rs/clippy@master:
x509-certificate/src/signing.rs#L54
warning: very complex type used. Consider factoring parts into `type` definitions
--> x509-certificate/src/signing.rs:54:29
|
54 | fn rsa_primes(&self) -> Result<Option<(Zeroizing<Vec<u8>>, Zeroizing<Vec<u8>>)>, Error>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
Run actions-rs/clippy@master:
cryptographic-message-syntax/src/signing.rs#L216
warning: the following explicit lifetimes could be elided: 'a
--> cryptographic-message-syntax/src/signing.rs:216:6
|
216 | impl<'a> Default for SignedDataBuilder<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
216 - impl<'a> Default for SignedDataBuilder<'a> {
216 + impl Default for SignedDataBuilder<'_> {
|
|
Run actions-rs/clippy@master:
pgp-cleartext/src/lib.rs#L327
warning: this manual char comparison can be written more succinctly
--> pgp-cleartext/src/lib.rs:327:56
|
327 | let no_eol = emit.trim_end_matches(|c| c == '\r' || c == '\n');
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using an array of `char`: `['\r', '\n']`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_pattern_char_comparison
= note: `#[warn(clippy::manual_pattern_char_comparison)]` on by default
|
Loading