From d4c1c7ecb5688ef64f45425d9ac8e7ddeb8e8602 Mon Sep 17 00:00:00 2001 From: Arne Dußin Date: Wed, 3 Feb 2021 10:51:08 +0100 Subject: Fix commands Commands now operate on the local file system, but on the remote world --- src/stable_vec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stable_vec.rs') 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 { data: Vec<(usize, T)>, } -- cgit v1.2.3-70-g09d2