Removes redundant parentheses, whitelists them in generated code (#7721)
This commit is contained in:
parent
4e278af49d
commit
d19dfdf731
|
@ -379,7 +379,7 @@ impl Database {
|
||||||
write_opts: write_opts,
|
write_opts: write_opts,
|
||||||
overlay: RwLock::new((0..(num_cols + 1)).map(|_| HashMap::new()).collect()),
|
overlay: RwLock::new((0..(num_cols + 1)).map(|_| HashMap::new()).collect()),
|
||||||
flushing: 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(),
|
path: path.to_owned(),
|
||||||
read_opts: read_opts,
|
read_opts: read_opts,
|
||||||
block_opts: block_opts,
|
block_opts: block_opts,
|
||||||
|
|
Loading…
Reference in New Issue