mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-11 03:04:22 +01:00
try_borrow.unwrap -> borrow
This commit is contained in:
@@ -1868,13 +1868,7 @@ impl Connection {
|
||||
|
||||
/// Creates a HashSet of modules that have been loaded
|
||||
pub fn get_syms_vtab_mods(&self) -> std::collections::HashSet<String> {
|
||||
self.syms
|
||||
.try_borrow()
|
||||
.unwrap()
|
||||
.vtab_modules
|
||||
.keys()
|
||||
.cloned()
|
||||
.collect()
|
||||
self.syms.borrow().vtab_modules.keys().cloned().collect()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user