aboutsummaryrefslogtreecommitdiffstats
path: root/src/atom.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/atom.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/atom.rs b/src/atom.rs
index a64a6aa..bda4c51 100644
--- a/src/atom.rs
+++ b/src/atom.rs
@@ -107,9 +107,9 @@ pub async fn atom<P: Post + Clone>(ctx: Context, entries: Vec<P>) -> Feed {
.tags()
.into_iter()
.map(|category| Category {
- term: category.clone(),
+ term: category.to_string(),
scheme: None,
- label: Some(category.clone()),
+ label: Some(category.to_string()),
})
.collect();
let published = Some(entry.published_at().to_owned().into());