From d19dfdf7317e04e58fbdcc5ff9785ca3c4e04447 Mon Sep 17 00:00:00 2001 From: Dmitry Kashitsyn Date: Wed, 31 Jan 2018 15:48:37 +0700 Subject: [PATCH] Removes redundant parentheses, whitelists them in generated code (#7721) --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 91cee86..f30ceba 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -379,7 +379,7 @@ impl Database { write_opts: write_opts, overlay: RwLock::new((0..(num_cols + 1)).map(|_| HashMap::new()).collect()), flushing: RwLock::new((0..(num_cols + 1)).map(|_| HashMap::new()).collect()), - flushing_lock: Mutex::new((false)), + flushing_lock: Mutex::new(false), path: path.to_owned(), read_opts: read_opts, block_opts: block_opts,