solana/ledger
Brooks Prumo f3ce5fa5e8 clippy: branches-sharing-code
```text
error: all if blocks contain the same code at the end
    --> ledger/src/blockstore.rs:3473:5
     |
3473 | /         Ok(insert_map.get(&slot).unwrap().clone())
3474 | |     }
     | |_____^
     |
     = note: `-D clippy::branches-sharing-code` implied by `-D warnings`
     = note: The end suggestion probably needs some adjustments to use the expression result correctly
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#branches_sharing_code
help: consider moving the end statements out like this
     |
3473 ~     }
3474 +     Ok(insert_map.get(&slot).unwrap().clone())
     |

error: could not compile `solana-ledger` due to previous error
```
2021-08-23 11:17:21 -05:00
..
benches Record vote account commission with voting/staking rewards and surface in RPC 2021-07-12 15:09:44 -07:00
src clippy: branches-sharing-code 2021-08-23 11:17:21 -05:00
tests Move entry/poh to own crate to speed up poh bench build (#18225) 2021-07-14 14:16:29 +02:00
.gitignore system_instruction_processor updates (#6448) 2019-10-19 18:23:27 -07:00
Cargo.toml chore: bump libc from 0.2.99 to 0.2.100 (#19371) 2021-08-23 09:34:32 -06:00
build.rs adds crds-value for broadcasting duplicate shreds through gossip (#14133) 2020-12-18 14:32:43 +00:00