Remove lazy_static block where possible

This commit is contained in:
gwenn
2020-10-29 19:51:51 +01:00
parent c7bf569359
commit 5f5943435e
3 changed files with 3 additions and 10 deletions

View File

@@ -819,9 +819,7 @@ mod test {
db.execute_batch("CREATE TABLE foo(t TEXT PRIMARY KEY NOT NULL);")
.unwrap();
lazy_static::lazy_static! {
static ref CALLED: AtomicBool = AtomicBool::new(false);
}
static CALLED: AtomicBool = AtomicBool::new(false);
db.apply(
&changeset,
None::<fn(&str) -> bool>,