diff options
| author | Arne Dußin | 2021-02-03 10:51:08 +0100 |
|---|---|---|
| committer | Arne Dußin | 2021-02-03 10:51:08 +0100 |
| commit | d4c1c7ecb5688ef64f45425d9ac8e7ddeb8e8602 (patch) | |
| tree | 6788d2efc22373d735947ba46d3a3ea3b3b3733c /src/stable_vec.rs | |
| parent | f92e9f6f07b1e3834c2ca58ce3510734819d08e4 (diff) | |
| download | graf_karto-d4c1c7ecb5688ef64f45425d9ac8e7ddeb8e8602.tar.gz graf_karto-d4c1c7ecb5688ef64f45425d9ac8e7ddeb8e8602.zip | |
Fix commands
Commands now operate on the local file system, but on the remote world
Diffstat (limited to 'src/stable_vec.rs')
| -rw-r--r-- | src/stable_vec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stable_vec.rs b/src/stable_vec.rs index 72a1995..c3b8685 100644 --- a/src/stable_vec.rs +++ b/src/stable_vec.rs @@ -7,7 +7,7 @@ use std::slice::IterMut; /// Works like Vec, but with an additional field, where the position information is saved. Does not /// support inserting elements in arbitrary positions, since that may shift the data. Removing data /// in the middle is fine, however. -#[derive(Debug, Deserialize, Serialize)] +#[derive(Clone, Debug, Deserialize, Serialize)] pub struct StableVec<T> { data: Vec<(usize, T)>, } |
