summaryrefslogtreecommitdiffstats
path: root/libimagtodo
diff options
context:
space:
mode:
authormario <mario-krehl@gmx.de>2016-06-30 15:14:39 +0200
committermario <mario-krehl@gmx.de>2016-06-30 15:14:39 +0200
commitd0d9eac61cfaf2110ccb5522769fb02fe2b50311 (patch)
tree226ff27937cb8e21dbffad253a010cb463efb287 /libimagtodo
parentfbea3bcaf758c141ff780728af601b90474dbd2d (diff)
code cleanup
Diffstat (limited to 'libimagtodo')
-rw-r--r--libimagtodo/src/delete.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libimagtodo/src/delete.rs b/libimagtodo/src/delete.rs
index 78af3c78..3aafae59 100644
--- a/libimagtodo/src/delete.rs
+++ b/libimagtodo/src/delete.rs
@@ -7,7 +7,7 @@ use module_path::ModuleEntryPath;
use error::{TodoError, TodoErrorKind};
/// With the uuid we get the storeid and then we can delete the entry
-pub fn delete(uuid: Uuid, store : &Store) -> Result<(),TodoError> {
+pub fn delete(store : &Store, uuid: Uuid) -> Result<(),TodoError> {
// With the uuid we get the storeid
let store_id = ModuleEntryPath::new(format!("taskwarrior/{}", uuid)).into_storeid();
// It deletes an entry