Skip to content

Update constraint

Update constraint #504

Triggered via push June 27, 2023 13:28
Status Success
Total duration 2m 11s
Artifacts

lints-beta.yml

on: push
Clippy (beta)
2m 1s
Clippy (beta)
Fit to window
Zoom out
Zoom in

Annotations

8 warnings
use of `default` to create a unit struct: src/note/commitment.rs#L164
warning: use of `default` to create a unit struct --> src/note/commitment.rs:164:31 | 164 | let mut os_rng = OsRng::default(); | ^^^^^^^^^^^ help: remove this call to `default` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs = note: `#[warn(clippy::default_constructed_unit_structs)]` on by default
the borrowed expression implements the required traits: tests/zsa.rs#L206
warning: the borrowed expression implements the required traits --> tests/zsa.rs:206:33 | 206 | proven.apply_signatures(&mut rng, sighash, &[]).unwrap() | ^^^^^^^^ help: change this to: `rng` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
the borrowed expression implements the required traits: tests/zsa.rs#L98
warning: the borrowed expression implements the required traits --> tests/zsa.rs:98:27 | 98 | .apply_signatures(&mut rng, sighash, &[SpendAuthorizingKey::from(sk)]) | ^^^^^^^^ help: change this to: `rng` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
the borrowed expression implements the required traits: tests/zsa.rs#L85
warning: the borrowed expression implements the required traits --> tests/zsa.rs:85:17 | 85 | proven.sign(&mut rng, isk).unwrap() | ^^^^^^^^ help: change this to: `rng` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
Clippy (beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy (beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy (beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy (beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/