From 1b001ab49b488df8c0177f8e2910696805935940 Mon Sep 17 00:00:00 2001 From: philipp Date: Fri, 29 Sep 2023 12:40:58 +0200 Subject: [PATCH] remove unused variable --- src/model/logbook.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/model/logbook.rs b/src/model/logbook.rs index 0d2820e..2097e4a 100644 --- a/src/model/logbook.rs +++ b/src/model/logbook.rs @@ -134,8 +134,6 @@ ORDER BY departure DESC let mut ret = Vec::new(); for log in logs { - let date_time = Local.from_local_datetime(&log.departure).single().unwrap(); - ret.push(LogbookWithBoatAndRowers { rowers: Rower::for_log(db, &log).await, boat: Boat::find_by_id(db, log.boat_id as i32).await.unwrap(),