mirror of
https://github.com/isar/rusqlite.git
synced 2026-02-17 00:09:12 +08:00
Remove lazy_static block where possible
This commit is contained in:
@@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user