chore: bump rust

and fix new lints that come with it
This commit is contained in:
Matthias Ahouansou 2024-05-05 13:11:44 +01:00
parent 79c4bb17ca
commit 256dae983b
No known key found for this signature in database
21 changed files with 43 additions and 46 deletions

View file

@ -13,8 +13,8 @@ use thread_local::ThreadLocal;
use tracing::debug;
thread_local! {
static READ_CONNECTION: RefCell<Option<&'static Connection>> = RefCell::new(None);
static READ_CONNECTION_ITERATOR: RefCell<Option<&'static Connection>> = RefCell::new(None);
static READ_CONNECTION: RefCell<Option<&'static Connection>> = const { RefCell::new(None) };
static READ_CONNECTION_ITERATOR: RefCell<Option<&'static Connection>> = const { RefCell::new(None) };
}
struct PreparedStatementIterator<'a> {