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