Correct stdout, updating lib and some clippy clean
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2023-07-30 18:13:42 +02:00
parent fd4affdb17
commit 1affcb9d1a
10 changed files with 117 additions and 138 deletions

View File

@ -14,31 +14,3 @@ pub struct CurrentWeatherPrintParams {
pub include_city: bool,
pub format: DataFormat,
}
impl CurrentWeatherPrintParams {
pub fn new(
all: bool,
is_day: bool,
temperature: bool,
temperature_unit: TempUnit,
windspeed: bool,
speed_unit: SpeedUnit,
winddirection: bool,
include_coords: bool,
include_city: bool,
format: DataFormat,
) -> CurrentWeatherPrintParams {
CurrentWeatherPrintParams {
all,
is_day,
temperature,
temperature_unit,
windspeed,
speed_unit,
winddirection,
include_coords,
include_city,
format,
}
}
}