Skip to content

Commit

Permalink
remove done todo
Browse files Browse the repository at this point in the history
  • Loading branch information
Tijl Leenders committed Jan 14, 2024
1 parent 738c8f0 commit 3f05a40
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/services/activity_placer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ pub fn place(mut calendar: &mut Calendar, mut activities: Vec<Activity>) -> () {
"reserving {:?} hours...",
&activities[act_index_to_schedule.unwrap()].total_duration
);
//TODO: Check if placing the total duration hours will not fail halfway due to a max budget being reached
// OR should that be done already in flex / get_best_hour_index already? YES - but which?
// Neither - update calendar_overlay of each activity should be done in calendar.place
// before finding/placing each activity
for duration_offset in 0..activities[act_index_to_schedule.unwrap()].total_duration {
//print statements
{
Expand Down

0 comments on commit 3f05a40

Please sign in to comment.