Expose the randomness used to create descriptions. #495
Clippy (MSRV)
6 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 6 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.76.0 (07dca489a 2024-02-04)
- cargo 1.76.0 (c84b36747 2024-01-18)
- clippy 0.1.76 (07dca48 2024-02-04)
Annotations
Check failure on line 327 in masp_primitives/src/transaction/components/sapling/builder.rs
github-actions / Clippy (MSRV)
this expression creates a reference which is immediately dereferenced by the compiler
error: this expression creates a reference which is immediately dereferenced by the compiler
--> masp_primitives/src/transaction/components/sapling/builder.rs:327:47
|
327 | .map(|rcv| jubjub::Fr::from_bytes(&rcv).into())
| ^^^^ help: change this to: `rcv`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
Check failure on line 322 in masp_primitives/src/transaction/components/sapling/builder.rs
github-actions / Clippy (MSRV)
this expression creates a reference which is immediately dereferenced by the compiler
error: this expression creates a reference which is immediately dereferenced by the compiler
--> masp_primitives/src/transaction/components/sapling/builder.rs:322:47
|
322 | .map(|rcv| jubjub::Fr::from_bytes(&rcv).into())
| ^^^^ help: change this to: `rcv`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
Check failure on line 317 in masp_primitives/src/transaction/components/sapling/builder.rs
github-actions / Clippy (MSRV)
this expression creates a reference which is immediately dereferenced by the compiler
error: this expression creates a reference which is immediately dereferenced by the compiler
--> masp_primitives/src/transaction/components/sapling/builder.rs:317:47
|
317 | .map(|rcv| jubjub::Fr::from_bytes(&rcv).into())
| ^^^^ help: change this to: `rcv`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
Check failure on line 327 in masp_primitives/src/transaction/components/sapling/builder.rs
github-actions / Clippy (MSRV)
this expression creates a reference which is immediately dereferenced by the compiler
error: this expression creates a reference which is immediately dereferenced by the compiler
--> masp_primitives/src/transaction/components/sapling/builder.rs:327:47
|
327 | .map(|rcv| jubjub::Fr::from_bytes(&rcv).into())
| ^^^^ help: change this to: `rcv`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
Check failure on line 322 in masp_primitives/src/transaction/components/sapling/builder.rs
github-actions / Clippy (MSRV)
this expression creates a reference which is immediately dereferenced by the compiler
error: this expression creates a reference which is immediately dereferenced by the compiler
--> masp_primitives/src/transaction/components/sapling/builder.rs:322:47
|
322 | .map(|rcv| jubjub::Fr::from_bytes(&rcv).into())
| ^^^^ help: change this to: `rcv`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
Check failure on line 317 in masp_primitives/src/transaction/components/sapling/builder.rs
github-actions / Clippy (MSRV)
this expression creates a reference which is immediately dereferenced by the compiler
error: this expression creates a reference which is immediately dereferenced by the compiler
--> masp_primitives/src/transaction/components/sapling/builder.rs:317:47
|
317 | .map(|rcv| jubjub::Fr::from_bytes(&rcv).into())
| ^^^^ help: change this to: `rcv`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`