From e7bc58cfe654e4ee5440eb5e31be9576f16e0e3d Mon Sep 17 00:00:00 2001
From: Adrian Hedqvist <adrian@tollyx.net>
Date: Wed, 2 Apr 2025 23:57:20 +0200
Subject: [PATCH] Remove instrumentation from tag::get_tags

---
 src/tag.rs | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/tag.rs b/src/tag.rs
index ca824c3..425f942 100644
--- a/src/tag.rs
+++ b/src/tag.rs
@@ -1,7 +1,6 @@
 use std::collections::HashMap;
 
 use serde_derive::Serialize;
-use tracing::instrument;
 
 use crate::page::Page;
 
@@ -12,7 +11,6 @@ pub struct Tag {
     pub posts: Vec<String>,
 }
 
-#[instrument(skip(posts))]
 pub fn get_tags<'a>(posts: impl IntoIterator<Item = &'a Page>) -> HashMap<String, Tag> {
     let mut tags: HashMap<String, Tag> = HashMap::new();