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

Commit 10b4c5f

Browse files
committed
Fix clippy unused_unit warning
Signed-off-by: Joseph Livesey <[email protected]>
1 parent aa76655 commit 10b4c5f

File tree

1 file changed

+2
-2
lines changed
  • libsawtooth/src/transact/database

1 file changed

+2
-2
lines changed

libsawtooth/src/transact/database/lmdb.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -533,9 +533,9 @@ mod tests {
533533
})
534534
}
535535

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

0 commit comments

Comments
 (0)