diff --git a/apps/vault/src/storage.rs b/apps/vault/src/storage.rs index e2d977294..6733f88c7 100644 --- a/apps/vault/src/storage.rs +++ b/apps/vault/src/storage.rs @@ -186,7 +186,7 @@ impl Manager { pub fn get_record( &self, - kind: ContentKind, + kind: &ContentKind, key_name: &str, ) -> Result where @@ -200,7 +200,7 @@ impl Manager { pub fn update( &mut self, - kind: ContentKind, + kind: &ContentKind, key_name: &str, record: T, ) -> Result<(), Error> @@ -216,13 +216,11 @@ impl Manager { self.new_record(record, Some(basis)) } - pub fn delete( + pub fn delete( &mut self, kind: ContentKind, key_name: &str, ) -> Result<(), Error> - where - Error: From<>>::Error>, { let settings = kind.settings();