From b1b640ae8bd8d2ed7c128cb3f90e3e56226a5560 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sun, 21 Feb 2021 15:24:30 +0100 Subject: rename hash() to sha256sum(), we might want to change it at some places --- src/table/schema.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/table/schema.rs') diff --git a/src/table/schema.rs b/src/table/schema.rs index d2ec9450..61deb3c1 100644 --- a/src/table/schema.rs +++ b/src/table/schema.rs @@ -10,7 +10,7 @@ pub trait PartitionKey { impl PartitionKey for String { fn hash(&self) -> Hash { - hash(self.as_bytes()) + sha256sum(self.as_bytes()) } } -- cgit v1.2.3