diff options
author | Alex Auvolat <alex@adnab.me> | 2020-04-21 17:08:42 +0000 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-04-21 17:08:42 +0000 |
commit | ec59e896c6cf405a0e52392ebb8619f26a367968 (patch) | |
tree | 4065518f40a7aa40a6c13506be43706061e795e8 /src/table_sharded.rs | |
parent | 8915224966e41195bd5844d9df29a3f0c7d7d6ae (diff) | |
download | garage-ec59e896c6cf405a0e52392ebb8619f26a367968.tar.gz garage-ec59e896c6cf405a0e52392ebb8619f26a367968.zip |
Make UUID & Hash Copy and remove some .clone() noise
Diffstat (limited to 'src/table_sharded.rs')
-rw-r--r-- | src/table_sharded.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table_sharded.rs b/src/table_sharded.rs index 6a174d05..c17ea0d4 100644 --- a/src/table_sharded.rs +++ b/src/table_sharded.rs @@ -47,7 +47,7 @@ impl TableReplication for TableShardedReplication { ret.push([0u8; 32].into()); for entry in ring.ring.iter() { - ret.push(entry.location.clone()); + ret.push(entry.location); } ret.push([0xFFu8; 32].into()); ret |