Skip to content

Fix SentTransactionOutput documentation. #1880

Fix SentTransactionOutput documentation.

Fix SentTransactionOutput documentation. #1880

GitHub Actions / Clippy (MSRV) failed Aug 4, 2023 in 0s

Clippy (MSRV)

2 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 2
Warning 0
Note 0
Help 0

Versions

  • rustc 1.65.0 (897e37553 2022-11-02)
  • cargo 1.65.0 (4bc8f24d3 2022-10-20)
  • clippy 0.1.65 (897e375 2022-11-02)

Annotations

Check failure on line 73 in zcash_client_sqlite/src/wallet/init/migrations/sapling_memo_consistency.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (MSRV)

use of `or_insert` followed by a function call

error: use of `or_insert` followed by a function call
  --> zcash_client_sqlite/src/wallet/init/migrations/sapling_memo_consistency.rs:73:18
   |
73 |                 .or_insert(vec![(output_index, AccountId::from(account), ufvk)]);
   |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `or_insert_with(|| vec![(output_index, AccountId::from(account), ufvk)])`
   |
   = note: `-D clippy::or-fun-call` implied by `-D warnings`
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call

Check failure on line 73 in zcash_client_sqlite/src/wallet/init/migrations/sapling_memo_consistency.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (MSRV)

use of `or_insert` followed by a function call

error: use of `or_insert` followed by a function call
  --> zcash_client_sqlite/src/wallet/init/migrations/sapling_memo_consistency.rs:73:18
   |
73 |                 .or_insert(vec![(output_index, AccountId::from(account), ufvk)]);
   |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `or_insert_with(|| vec![(output_index, AccountId::from(account), ufvk)])`
   |
   = note: `-D clippy::or-fun-call` implied by `-D warnings`
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call