diff options
Diffstat (limited to 'tvix')
-rw-r--r-- | tvix/store/src/digests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/store/src/digests.rs b/tvix/store/src/digests.rs index 85664cc1667e..441a059ee0b6 100644 --- a/tvix/store/src/digests.rs +++ b/tvix/store/src/digests.rs @@ -20,7 +20,7 @@ impl B3Digest { if value.len() != 32 { Err(Error::InvalidDigestLen(value.len())) } else { - Ok(Self(Vec::from(value))) + Ok(Self(value)) } } |