mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-11 06:46:53 +00:00
fix clippy warnings on util and rpc
This commit is contained in:
committed by
Alex Auvolat
parent
88925ebe22
commit
f05bb111c2
+1
-1
@@ -72,7 +72,7 @@ impl FixedBytes32 {
|
||||
&mut self.0[..]
|
||||
}
|
||||
/// Copy to a slice
|
||||
pub fn to_vec(&self) -> Vec<u8> {
|
||||
pub fn to_vec(self) -> Vec<u8> {
|
||||
self.0.to_vec()
|
||||
}
|
||||
/// Try building a FixedBytes32 from a slice
|
||||
|
||||
Reference in New Issue
Block a user