diff options
author | cel 🌸 <cel@blos.sm> | 2024-01-31 18:55:36 +0000 |
---|---|---|
committer | cel 🌸 <cel@blos.sm> | 2024-01-31 18:55:36 +0000 |
commit | d1bfe2eb0ba8836d4eef4ca5dd6e20611dc3a8c0 (patch) | |
tree | c54999785bf7ae865ca571a475da222e9e376873 /src/atom.rs | |
parent | b78d026c242e8d95e611e050afd5b72eb562d56d (diff) | |
download | blossom-d1bfe2eb0ba8836d4eef4ca5dd6e20611dc3a8c0.tar.gz blossom-d1bfe2eb0ba8836d4eef4ca5dd6e20611dc3a8c0.tar.bz2 blossom-d1bfe2eb0ba8836d4eef4ca5dd6e20611dc3a8c0.zip |
changed Post tags() to return a Vec<&str>
Diffstat (limited to '')
-rw-r--r-- | src/atom.rs | 4 |
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()); |