Skip to content

Commit

Permalink
chore: Fixed clippy linting
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisBurger committed Nov 18, 2024
1 parent 8fbce28 commit ce604f5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion tasky/src/models/assignment.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use super::notification::NotificationRepository;
use super::solution::ApprovalStatus;
use super::{Paginate, PaginatedModel, DB};
use crate::schema::assignments::dsl;
use chrono::NaiveDateTime;
Expand Down
2 changes: 1 addition & 1 deletion tasky/src/routes/assignment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ pub async fn get_student_pending_assignments(
pagination.page,
conn,
);
let mut enriched =
let enriched =
AssignmentsResponse::enrich(&assignments, &mut data.user_api.clone(), conn).await?;
Ok(HttpResponse::Ok().json(enriched))
}
Expand Down

0 comments on commit ce604f5

Please sign in to comment.