rename hash() to sha256sum(), we might want to change it at some places

This commit is contained in:
Alex Auvolat
2021-02-21 15:24:30 +01:00
parent e59322041a
commit b1b640ae8b
9 changed files with 30 additions and 32 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ pub trait PartitionKey {
impl PartitionKey for String {
fn hash(&self) -> Hash {
hash(self.as_bytes())
sha256sum(self.as_bytes())
}
}