Skip to content

Commit

Permalink
Remove unused trait
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Cook committed Mar 3, 2025
1 parent 6a5a01c commit f578c26
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/src/weather/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ pub struct CurrentConditions {
pub icon: String,
}

pub trait Provider {
fn current(&self) -> eyre::Result<CurrentConditions>;
fn query_pairs(&self) -> Vec<(&str, &str)>;
}

#[derive(Clone, Debug)]
pub enum Source {
WeatherAPI,
Expand Down

0 comments on commit f578c26

Please sign in to comment.