Skip to content

Commit

Permalink
rm unnecessary ref
Browse files Browse the repository at this point in the history
Signed-off-by: Fullstop000 <[email protected]>
  • Loading branch information
Fullstop000 committed Jun 17, 2020
1 parent 75bc583 commit 5233d9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion harness/tests/test_util/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ pub fn new_test_raft_with_logs(
}

pub fn new_test_raft_with_config(config: &Config, storage: MemStorage, l: &Logger) -> Interface {
Interface::new(Raft::new(&config, storage, l).unwrap())
Interface::new(Raft::new(config, storage, l).unwrap())
}

pub fn hard_state(t: u64, c: u64, v: u64) -> HardState {
Expand Down

0 comments on commit 5233d9f

Please sign in to comment.