cleaned up
This commit is contained in:
parent
23037eb7ee
commit
a46962e87c
|
@ -64,7 +64,7 @@ async fn main() {
|
||||||
.call();
|
.call();
|
||||||
|
|
||||||
let weather_str : String = if let Ok(ref forecast) = weather_result {
|
let weather_str : String = if let Ok(ref forecast) = weather_result {
|
||||||
println!("code : {}", forecast.current.condition.code);
|
//println!("code : {}", forecast.current.condition.code);
|
||||||
weather_code_to_icon(forecast.current.condition.code)
|
weather_code_to_icon(forecast.current.condition.code)
|
||||||
} else {
|
} else {
|
||||||
" ".into()
|
" ".into()
|
||||||
|
|
Loading…
Reference in a new issue