diff options
Diffstat (limited to 'src/structs.rs')
| -rw-r--r-- | src/structs.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/structs.rs b/src/structs.rs index 97c30c2..817a0d1 100644 --- a/src/structs.rs +++ b/src/structs.rs @@ -114,7 +114,7 @@ impl State { } } - pub fn subscribe(&mut self, url: &str, config: &Config) { + pub fn subscribe(&mut self, url: &str) { let mut set = BTreeSet::new(); for sub in self.subscriptions() { set.insert(sub.title); @@ -130,7 +130,6 @@ impl State { if let Err(err) = self.save() { eprintln!("{}", err); } - download_rss(url, config); } pub fn subscriptions(&self) -> Vec<Subscription> { |
