diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-09-17 10:21:39 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-09-17 10:30:19 +0300 |
commit | 7c0fc1d786cafcbd4e9e9659089e633a7fc7c092 (patch) | |
tree | f3049e1e0dc01588c75f96da45ee63b9f3d09625 /src/chunkid.rs | |
parent | 0bc14ecaafabc6be57392e9092f07472c440ae46 (diff) | |
download | obnam2-7c0fc1d786cafcbd4e9e9659089e633a7fc7c092.tar.gz |
feat: add an in-memory index of chunks for searching
Diffstat (limited to 'src/chunkid.rs')
-rw-r--r-- | src/chunkid.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chunkid.rs b/src/chunkid.rs index f3af7cf..771cc8c 100644 --- a/src/chunkid.rs +++ b/src/chunkid.rs @@ -17,7 +17,7 @@ use uuid::Uuid; /// /// Because every identifier is meant to be different, there is no /// default value, since default values should be identical. -#[derive(Debug, PartialEq)] +#[derive(Debug, PartialEq, Clone)] pub struct ChunkId { id: String, } |