From 70883409aa2aeed5d8e5db6060b807ed5cb866be Mon Sep 17 00:00:00 2001 From: Julian Ganz Date: Sat, 16 Jan 2016 15:12:10 +0100 Subject: [PATCH] Allow to update an item multiple times --- libimagstore/src/store.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libimagstore/src/store.rs b/libimagstore/src/store.rs index 4d86152d..3d6d4437 100644 --- a/libimagstore/src/store.rs +++ b/libimagstore/src/store.rs @@ -12,7 +12,7 @@ pub trait Store { fn create(&self, entry : Entry) -> Result<()>; fn retrieve(&self, id : String) -> Result; fn retrieve_copy(&self, id : String) -> Result; - fn update(&self, LockedEntry) -> Result<()>; + fn update(&self, &LockedEntry) -> Result<()>; fn delete(&self, id : String) -> Result<()>; }