Skip to content

Commit

Permalink
fix: remove dbg statements
Browse files Browse the repository at this point in the history
  • Loading branch information
moaz-mokhtar committed Mar 9, 2024
1 parent b220f89 commit 1df487c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/bin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ fn main() {
let file = fs::File::open(path).expect("file should open read only");
let json: Value = serde_json::from_reader(file).expect("file should be proper JSON");
let input: Input = serde_json::from_value(json).unwrap();
dbg!(&input);
run_scheduler(input.start_date, input.end_date, &input.goals);
}

Expand Down
2 changes: 0 additions & 2 deletions src/models/activity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ impl Activity {
duration_left: min_block_size, //TODO: Correct this - is it even necessary to have duration_left?
status: Status::Unprocessed,
};
dbg!(&activity);
activities.push(activity);
}

Expand Down Expand Up @@ -290,7 +289,6 @@ impl Activity {
duration_left: config.min_per_day,
status: Status::Unprocessed,
};
dbg!(&activity);
activities.push(activity);
}
}
Expand Down
2 changes: 0 additions & 2 deletions src/services/activity_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ pub fn generate_get_to_week_min_budget_activities(
}
}
}
dbg!(&get_to_week_min_budget_activities);
Some(get_to_week_min_budget_activities)
}

Expand All @@ -81,7 +80,6 @@ pub fn generate_top_up_week_budget_activities(
}
}
}
dbg!(&top_up_activities);
top_up_activities
}

Expand Down
1 change: 0 additions & 1 deletion src/services/activity_placer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ pub fn place(calendar: &mut Calendar, mut activities: Vec<Activity>) -> Option<(
(activities[act_index_to_schedule?]).release_claims();
}
}
dbg!(&calendar);
Some(())
}

Expand Down

0 comments on commit 1df487c

Please sign in to comment.