fancier-boat-stats #341

Merged
philipp merged 3 commits from fancier-boat-stats into main 2024-04-06 17:56:10 +02:00
Showing only changes of commit c094097af7 - Show all commits

View File

@ -52,6 +52,10 @@ impl BoatStat {
let name: String = row.get("name");
let location: String = row.get("location");
let year: i32 = row.get("year");
if year == 0 {
continue; // Boat still on water
}
if !years.contains(&year) {
years.push(year);
}