diff --git a/src/routers/rss.rs b/src/routers/rss.rs index 6068579..3ff2a0d 100644 --- a/src/routers/rss.rs +++ b/src/routers/rss.rs @@ -20,7 +20,7 @@ pub fn rss(setting: SettingMap, conn: DbConn) -> content::Xml { } else { format!("https://www.kilerd.me/archives/{}", item.article.id) }, - _ => format!("https://www.kilerd.me/archives/{}", item.article.id) + None => format!("https://www.kilerd.me/archives/{}", item.article.id) }; ItemBuilder::default() .title(item.article.title.clone())