clean code with clippy

This commit is contained in:
2023-05-30 14:36:23 +02:00
parent 7fcae95b02
commit 9c30cda326
5 changed files with 8 additions and 17 deletions

View File

@ -220,8 +220,8 @@ X-WR-CALNAME:Ruderausfahrten"#,
res.push_str(&format!("\nUID:{}@rudernlinz.at", event.id));
res.push_str(&format!(
"\nDTSTART;TZID=Europe/Vienna:{}T{}00",
event.day.replace("-", ""),
event.planned_starting_time.replace(":", "")
event.day.replace('-', ""),
event.planned_starting_time.replace(':', "")
));
res.push_str(&format!("\nSUMMARY:{}", event.name));