minor clena
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Jorge Bolois 2023-07-30 18:24:17 +02:00
parent 75292efa7c
commit 12378cb3c7
5 changed files with 2 additions and 5 deletions

2
Cargo.lock generated
View File

@ -241,7 +241,7 @@ checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d"
[[package]] [[package]]
name = "open-meteo-cli" name = "open-meteo-cli"
version = "0.1.4" version = "0.1.5"
dependencies = [ dependencies = [
"billboard", "billboard",
"directories", "directories",

View File

@ -2,7 +2,6 @@ use serde::{Deserialize, Serialize};
use structopt::clap::arg_enum; use structopt::clap::arg_enum;
arg_enum! { arg_enum! {
#[derive(Serialize, Deserialize, Debug, PartialEq, Clone, Copy)] #[derive(Serialize, Deserialize, Debug, PartialEq, Clone, Copy)]
pub enum DataFormat { pub enum DataFormat {
Normal, Normal,

View File

@ -2,7 +2,6 @@ use serde::{Deserialize, Serialize};
use structopt::clap::arg_enum; use structopt::clap::arg_enum;
arg_enum! { arg_enum! {
#[derive(Serialize, Deserialize, Debug, Clone, Copy)] #[derive(Serialize, Deserialize, Debug, Clone, Copy)]
pub enum SpeedUnit { pub enum SpeedUnit {
Kmh, Kmh,

View File

@ -2,7 +2,6 @@ use serde::{Deserialize, Serialize};
use structopt::clap::arg_enum; use structopt::clap::arg_enum;
arg_enum! { arg_enum! {
#[derive(Serialize, Deserialize, Debug, Clone, Copy)] #[derive(Serialize, Deserialize, Debug, Clone, Copy)]
pub enum TempUnit { pub enum TempUnit {
Celsius, Celsius,

View File

@ -151,7 +151,7 @@ fn main() {
.text_alignment(Alignment::Left) .text_alignment(Alignment::Left)
.box_alignment(Alignment::Left) .box_alignment(Alignment::Left)
.build() .build()
.print(output.to_string()); .print(output);
} else { } else {
println!("{}", output); println!("{}", output);
} }