aboutsummaryrefslogtreecommitdiff
path: root/src/table/data.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-05-09 12:38:55 +0200
committerAlex Auvolat <alex@adnab.me>2023-06-09 16:23:37 +0200
commit53bf2f070cd3ef95bbdf78e439dbeb2d8cda8f19 (patch)
tree318f72a46d10f1560a03c3759032a6d58b4340ec /src/table/data.rs
parent412ab77b0815f165539fe41713c0155a9878672f (diff)
downloadgarage-53bf2f070cd3ef95bbdf78e439dbeb2d8cda8f19.tar.gz
garage-53bf2f070cd3ef95bbdf78e439dbeb2d8cda8f19.zip
undo sort_key() returning Cow
Diffstat (limited to 'src/table/data.rs')
-rw-r--r--src/table/data.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table/data.rs b/src/table/data.rs
index cfc67c18..73fa93c8 100644
--- a/src/table/data.rs
+++ b/src/table/data.rs
@@ -347,7 +347,7 @@ impl<F: TableSchema, R: TableReplication> TableData<F, R> {
// ---- Utility functions ----
pub fn tree_key(&self, p: &F::P, s: &F::S) -> Vec<u8> {
- [p.hash().as_slice(), s.sort_key().as_ref()].concat()
+ [p.hash().as_slice(), s.sort_key()].concat()
}
pub fn decode_entry(&self, bytes: &[u8]) -> Result<F::E, Error> {