zcash_client_sqlite: Add a WalletMigrator
that supports externally-defined migrations
#158
zizmor.yml
on: pull_request
zizmor latest via Cargo
32s
Annotations
2 errors and 1 warning
you should consider adding a `Default` implementation for `WalletMigrator`:
zcash_client_sqlite/src/wallet/init.rs#L417
error: you should consider adding a `Default` implementation for `WalletMigrator`
--> zcash_client_sqlite/src/wallet/init.rs:417:5
|
417 | / pub fn new() -> Self {
418 | | Self {
419 | | seed: None,
420 | | verify_seed_relevance: true,
421 | | external_migrations: None,
422 | | }
423 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `-D clippy::new-without-default` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::new_without_default)]`
help: try adding this
|
415 + impl Default for WalletMigrator {
416 + fn default() -> Self {
417 + Self::new()
418 + }
419 + }
|
|
you should consider adding a `Default` implementation for `WalletMigrator`:
zcash_client_sqlite/src/wallet/init.rs#L417
error: you should consider adding a `Default` implementation for `WalletMigrator`
--> zcash_client_sqlite/src/wallet/init.rs:417:5
|
417 | / pub fn new() -> Self {
418 | | Self {
419 | | seed: None,
420 | | verify_seed_relevance: true,
421 | | external_migrations: None,
422 | | }
423 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `-D clippy::new-without-default` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::new_without_default)]`
help: try adding this
|
415 + impl Default for WalletMigrator {
416 + fn default() -> Self {
417 + Self::new()
418 + }
419 + }
|
|
zizmor latest via Cargo
No file matched to [**/uv.lock,**/requirements*.txt]. The cache will never get invalidated. Make sure you have checked out the target repository and configured the cache-dependency-glob input correctly.
|