diff --git a/src/db/board_stroke.rs b/src/db/board_stroke.rs index 1904bf2..704bb72 100644 --- a/src/db/board_stroke.rs +++ b/src/db/board_stroke.rs @@ -82,7 +82,6 @@ pub async fn append( /// The one place `closed` is ordered above `locked` lives in /// [`state_refusal`]; both refusal paths re-read the board and /// ask it. - async fn why_refused(db: &Database, board: &BoardId) -> Result { let board = crate::db::board::read(db, board) .await? diff --git a/src/service/exam.rs b/src/service/exam.rs index 1c1deba..a916134 100644 --- a/src/service/exam.rs +++ b/src/service/exam.rs @@ -23,6 +23,10 @@ use crate::error::AppError; use crate::service::course::require_open; use crate::service::exam_attempt::{EXAM_LOCK, any_for_exam, course_of}; +#[expect( + clippy::too_many_arguments, + reason = "mirrors the sibling entities' create(field, field, ..) shape" +)] pub async fn create( db: &Database, creator: &UserId, diff --git a/src/service/user.rs b/src/service/user.rs index 2bd73cb..25b6623 100644 --- a/src/service/user.rs +++ b/src/service/user.rs @@ -171,6 +171,10 @@ pub async fn find_by_username(db: &Database, username: &str) -> Result Vec { - hezarfen_backend::db::rag_output::list_for(&db, &CourseNoteId::from_key(note), None, 0) + hezarfen_backend::db::rag_output::list_for(db, &CourseNoteId::from_key(note), None, 0) .await .expect("list rag outputs") .0