summaryrefslogtreecommitdiff
path: root/src/parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.rs')
-rw-r--r--src/parser.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.rs b/src/parser.rs
index d6b7abd..ddf3b0a 100644
--- a/src/parser.rs
+++ b/src/parser.rs
@@ -123,7 +123,7 @@ pub struct Alert {
pub tags: Vec<String>,
}
-type BoxedError = Box<dyn std::error::Error + Send + Sync>;
+//type BoxedError = Box<dyn std::error::Error + Send + Sync>;
const CONF: Lazy<Result<Config, Box<dyn std::error::Error + Send + Sync>>> = Lazy::new(|| {
@@ -171,4 +171,4 @@ pub async fn parse_weather() -> Result<WeatherData, Box<dyn std::error::Error>>
let weather_data: WeatherData = response.json().await?;
Ok(weather_data)
-}
+} \ No newline at end of file