From 48de71d926f735b7cb331a5befcac76b85eec12e Mon Sep 17 00:00:00 2001 From: mario Date: Tue, 28 Jun 2016 20:20:35 +0200 Subject: [PATCH] fixed function name --- libimagtodo/src/delete.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libimagtodo/src/delete.rs b/libimagtodo/src/delete.rs index 317deaa0..78af3c78 100644 --- a/libimagtodo/src/delete.rs +++ b/libimagtodo/src/delete.rs @@ -7,13 +7,13 @@ use module_path::ModuleEntryPath; use error::{TodoError, TodoErrorKind}; /// With the uuid we get the storeid and then we can delete the entry -pub fn deleteFunc(uuid: Uuid, store : &Store) -> Result<(),TodoError> { +pub fn delete(uuid: Uuid, store : &Store) -> Result<(),TodoError> { // With the uuid we get the storeid let store_id = ModuleEntryPath::new(format!("taskwarrior/{}", uuid)).into_storeid(); - // It deletes an entry + // It deletes an entry match store.delete(store_id) { Ok(val) => Ok(val), - Err(e) => Err(TodoError::new(TodoErrorKind::StoreError, Some(Box::new(e)))), + Err(e) => Err(TodoError::new(TodoErrorKind::StoreError, Some(Box::new(e)))), } }