chore: remove generics from Decode and Decompress (#11295)

This commit is contained in:
DaniPopes
2024-09-27 23:49:49 +02:00
committed by GitHub
parent e48f2a29cd
commit 50265b15db
20 changed files with 88 additions and 113 deletions

View File

@ -87,7 +87,7 @@ where
|input| {
{
for (_, k, _, _) in input {
let _ = <T as Table>::Key::decode(k);
let _ = <T as Table>::Key::decode(&k);
}
};
black_box(());
@ -115,7 +115,7 @@ where
|input| {
{
for (_, _, _, v) in input {
let _ = <T as Table>::Value::decompress(v);
let _ = <T as Table>::Value::decompress(&v);
}
};
black_box(());