Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Fix clippy unused_unit warning
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Livesey <jlivesey@gmail.com>
  • Loading branch information
suchapalaver committed Oct 10, 2023
1 parent aa76655 commit 10b4c5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libsawtooth/src/transact/database/lmdb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -533,9 +533,9 @@ mod tests {
})
}

fn run_test<T>(test: T) -> ()
fn run_test<T>(test: T)
where
T: FnOnce(&str) -> () + panic::UnwindSafe,
T: FnOnce(&str) + panic::UnwindSafe,
{
let dbpath = temp_db_path();

Expand Down

0 comments on commit 10b4c5f

Please sign in to comment.