mirror of
https://github.com/denisidoro/navi.git
synced 2026-01-23 10:16:08 +00:00
Ran cargo fmt
Signed-off-by: alexis-opolka <53085471+alexis-opolka@users.noreply.github.com>
This commit is contained in:
parent
2b4a750624
commit
ec3a18cb93
1 changed files with 6 additions and 1 deletions
|
|
@ -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()
|
||||
))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue