mirror of
https://github.com/denisidoro/navi.git
synced 2026-01-23 02:14:19 +00:00
Merge pull request #952 from gcarrillo/dev/egcarril/master/allow_identical_description
Allow cheatsheet items with same descriptions
This commit is contained in:
commit
da42bf5d26
1 changed files with 1 additions and 1 deletions
|
|
@ -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()))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue