mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
use borrow
This commit is contained in:
parent
82d8dff95d
commit
3bc74f17af
1 changed files with 1 additions and 1 deletions
|
|
@ -272,7 +272,7 @@ impl Tab {
|
|||
pub fn save(&self, tx: &Transaction, app_browser_window_id: &i64) {
|
||||
let mut page_number = 0;
|
||||
|
||||
for (_, _) in self.index.take().iter() {
|
||||
for (_, _) in self.index.borrow().iter() {
|
||||
match self.database.add(
|
||||
tx,
|
||||
app_browser_window_id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue