From d1bfe2eb0ba8836d4eef4ca5dd6e20611dc3a8c0 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Wed, 31 Jan 2024 18:55:36 +0000 Subject: changed Post tags() to return a Vec<&str> --- src/atom.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/atom.rs') 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(ctx: Context, entries: Vec

) -> 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()); -- cgit