summaryrefslogtreecommitdiff
path: root/src/directive/tag.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/directive/tag.rs')
-rw-r--r--src/directive/tag.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/directive/tag.rs b/src/directive/tag.rs
index 9486a7b..baf4561 100644
--- a/src/directive/tag.rs
+++ b/src/directive/tag.rs
@@ -14,9 +14,7 @@ impl Tag {
pub const ALLOW_ANY_UNNAMED: bool = true;
pub fn new(tags: Vec<String>) -> Self {
- Self {
- tags,
- }
+ Self { tags }
}
pub fn process(&self, _site: &Site, _meta: &mut PageMeta) -> Result<String, SiteError> {