Removes redundant parentheses, whitelists them in generated code (#7721)

This commit is contained in:
Dmitry Kashitsyn 2018-01-31 15:48:37 +07:00 committed by Afri Schoedon
parent 4e278af49d
commit d19dfdf731
1 changed files with 1 additions and 1 deletions

View File

@ -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,