From 8679dfc3328849275fa80942560f0bb685ef0d39 Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 13 Nov 2024 08:10:54 +0200 Subject: [PATCH] rename variable --- src/profile/database.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/profile/database.rs b/src/profile/database.rs index 904ad34e..d39d25f1 100644 --- a/src/profile/database.rs +++ b/src/profile/database.rs @@ -26,8 +26,8 @@ impl Database { /// Get all records pub fn records(&self) -> Vec { - let binding = self.connection.read().unwrap(); - let tx = binding.unchecked_transaction().unwrap(); + let readable = self.connection.read().unwrap(); + let tx = readable.unchecked_transaction().unwrap(); records(&tx).unwrap() }