diff options
author | Trinity Pointard <trinity.pointard@gmail.com> | 2021-04-09 02:32:42 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-05-03 22:11:41 +0200 |
commit | f05bb111c2e7dd77f2b34b82892bbfa8e6a063c1 (patch) | |
tree | 0e093982ad6e30a440dcdbd9d8e47c4e75b9d198 /src/util/data.rs | |
parent | 88925ebe2210a8382b4d353fcab15d2b5c345efb (diff) | |
download | garage-f05bb111c2e7dd77f2b34b82892bbfa8e6a063c1.tar.gz garage-f05bb111c2e7dd77f2b34b82892bbfa8e6a063c1.zip |
fix clippy warnings on util and rpc
Diffstat (limited to 'src/util/data.rs')
-rw-r--r-- | src/util/data.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/data.rs b/src/util/data.rs index 34ee8a18..56c7ab56 100644 --- a/src/util/data.rs +++ b/src/util/data.rs @@ -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 |