diff options
| author | Joe Carstairs <me@joeac.net> | 2026-09-06 21:13:01 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-09-06 21:13:01 +0100 |
| commit | 4b48bb90e3def4536fc4861290e90bb1720192ec (patch) | |
| tree | 24067a993a5c8173dc07abbb6cbe0b13044e3d0a /src/channel.rs | |
| parent | 8cb5de4dcff60661f45037066f1568d25d5b027f (diff) | |
separates config from subscriptions
Diffstat (limited to 'src/channel.rs')
| -rw-r--r-- | src/channel.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/channel.rs b/src/channel.rs index f4d4941..154382a 100644 --- a/src/channel.rs +++ b/src/channel.rs @@ -1,9 +1,9 @@ use chrono::Utc; use rss::Channel; -use crate::config::ChannelConfig; +use crate::config::Config; -pub fn make_new_empty_channel(config: ChannelConfig) -> Channel { +pub fn make_new_empty_channel(config: Config) -> Channel { Channel { title: config.title, link: config.link, |
