diff --git a/src/structures/item.rs b/src/structures/item.rs index da4a181..f5eae53 100644 --- a/src/structures/item.rs +++ b/src/structures/item.rs @@ -18,6 +18,6 @@ impl Item { } pub fn hash(&self) -> u64 { - fnv(&format!("{}{}", &self.tags.trim(), &self.comment.trim())) + fnv(&format!("{}{}{}", &self.tags.trim(), &self.comment.trim(), &self.snippet.trim())) } }