Rename set to deck in repetitions.rs

This commit is contained in:
2026-08-18 15:16:51 +03:00
parent 80785ff9e6
commit 306febc514
7 changed files with 63 additions and 63 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ use crate::lang::{DeckSettings, CardStatistics, INVALID_ID};
use rusqlite::Connection;
use std::time::Instant;
pub fn load_stats_of_set(set: &DeckSettings, connection: &Connection) -> Vec<CardStatistics> {
pub fn load_stats_of_deck(set: &DeckSettings, connection: &Connection) -> Vec<CardStatistics> {
let mut stmt = connection
.prepare("SELECT id, word_id, score, last_opened FROM card_stats WHERE set_id = ?1")
.unwrap();