rename variable

This commit is contained in:
yggverse 2024-11-13 08:10:54 +02:00
parent 2b80489340
commit 8679dfc332

View File

@ -26,8 +26,8 @@ impl Database {
/// Get all records /// Get all records
pub fn records(&self) -> Vec<Table> { pub fn records(&self) -> Vec<Table> {
let binding = self.connection.read().unwrap(); let readable = self.connection.read().unwrap();
let tx = binding.unchecked_transaction().unwrap(); let tx = readable.unchecked_transaction().unwrap();
records(&tx).unwrap() records(&tx).unwrap()
} }