summaryrefslogtreecommitdiff
path: root/src/parser.rs
diff options
context:
space:
mode:
authorNamilskyy <alive6863@gmail.com>2025-04-03 16:39:52 +0300
committerNamilskyy <alive6863@gmail.com>2025-04-03 16:41:19 +0300
commit12c4b02df6ab22c2492dde008b62ff82a563df3e (patch)
treedd7f51d94f94e4e03cf3a8f8a8c92fc30488ae3c /src/parser.rs
parent18cc87272fe03f0f7064751b7abdbaee1cac821e (diff)
Main fixes and developing
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