summaryrefslogtreecommitdiff
path: root/keystore2/src/database.rs
diff options
context:
space:
mode:
Diffstat (limited to 'keystore2/src/database.rs')
-rw-r--r--keystore2/src/database.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystore2/src/database.rs b/keystore2/src/database.rs
index 113c049b..dd64764b 100644
--- a/keystore2/src/database.rs
+++ b/keystore2/src/database.rs
@@ -5019,7 +5019,7 @@ pub mod tests {
// This allows us to test repeated elements.
thread_local! {
- static RANDOM_COUNTER: RefCell<i64> = RefCell::new(0);
+ static RANDOM_COUNTER: RefCell<i64> = const { RefCell::new(0) };
}
fn reset_random() {