Correct stdout, updating lib and some clippy clean
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user