From 9c954b8cb5fdd2bdf4f2f1814ba906f48bb682bf Mon Sep 17 00:00:00 2001 From: gwenn Date: Sun, 25 Oct 2020 12:28:03 +0100 Subject: [PATCH] Rustfmt --- src/hooks.rs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/hooks.rs b/src/hooks.rs index 3cf3527..d9b2ac4 100644 --- a/src/hooks.rs +++ b/src/hooks.rs @@ -372,10 +372,13 @@ mod test { lazy_static! { static ref CALLED: AtomicBool = AtomicBool::new(false); } - db.progress_handler(1, Some(|| { - CALLED.store(true, Ordering::Relaxed); - false - })); + db.progress_handler( + 1, + Some(|| { + CALLED.store(true, Ordering::Relaxed); + false + }), + ); db.execute_batch("BEGIN; CREATE TABLE foo (t TEXT); COMMIT;") .unwrap(); assert!(CALLED.load(Ordering::Relaxed));