lighthouse/beacon_node/store/src
Michael Sproul aad397f00a Resolve Rust 1.56 lints and warnings (#2728)
## Issue Addressed

When compiling with Rust 1.56.0 the compiler generates 3 instances of this warning:

```
warning: trailing semicolon in macro used in expression position
   --> common/eth2_network_config/src/lib.rs:181:24
    |
181 |                     })?;
    |                        ^
...
195 |         let deposit_contract_deploy_block = load_from_file!(DEPLOY_BLOCK_FILE);
    |                                             ---------------------------------- in this macro invocation
    |
    = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
    = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
    = note: this warning originates in the macro `load_from_file` (in Nightly builds, run with -Z macro-backtrace for more info)
```

This warning is completely harmless, but will be visible to users compiling Lighthouse v2.0.1 (or earlier) with Rust 1.56.0 (to be released October 21st). It is **completely safe** to ignore this warning, it's just a superficial change to Rust's syntax.

## Proposed Changes

This PR removes the semi-colon as recommended, and fixes the new Clippy lints from 1.56.0
2021-10-19 00:30:42 +00:00
..
impls Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
chunk_writer.rs Implement checkpoint sync (#2244) 2021-09-22 00:37:28 +00:00
chunked_iter.rs Implement checkpoint sync (#2244) 2021-09-22 00:37:28 +00:00
chunked_vector.rs Resolve Rust 1.56 lints and warnings (#2728) 2021-10-19 00:30:42 +00:00
config.rs Implement checkpoint sync (#2244) 2021-09-22 00:37:28 +00:00
errors.rs Implement checkpoint sync (#2244) 2021-09-22 00:37:28 +00:00
forwards_iter.rs Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
garbage_collection.rs Compact database on finalization (#1871) 2020-11-09 07:02:21 +00:00
hot_cold_store.rs Fix I/O atomicity issues with checkpoint sync (#2671) 2021-10-05 03:53:17 +00:00
impls.rs Implement checkpoint sync (#2244) 2021-09-22 00:37:28 +00:00
iter.rs Add BeaconChainHarness::builder (#2707) 2021-10-14 02:58:10 +00:00
leveldb_store.rs update dependencies (#2032) 2020-12-07 08:20:33 +00:00
lib.rs Fix I/O atomicity issues with checkpoint sync (#2671) 2021-10-05 03:53:17 +00:00
memory_store.rs Compact database on finalization (#1871) 2020-11-09 07:02:21 +00:00
metadata.rs Implement checkpoint sync (#2244) 2021-09-22 00:37:28 +00:00
metrics.rs Implement slasher (#1567) 2020-11-23 03:43:22 +00:00
partial_beacon_state.rs Fix I/O atomicity issues with checkpoint sync (#2671) 2021-10-05 03:53:17 +00:00
reconstruct.rs Fix I/O atomicity issues with checkpoint sync (#2671) 2021-10-05 03:53:17 +00:00