diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-07-06 20:14:26 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-07-21 17:14:11 +0200 |
commit | a8bb444f1d52ea51f4eed2a955bae4509e1bdfe3 (patch) | |
tree | 0ac42955eb705d50075ec798bbf785515f54f111 /libimagtodo | |
parent | 879fa3fb482caa2953a5706bf827409902ad5bcc (diff) |
Fix misleading function name
Diffstat (limited to 'libimagtodo')
-rw-r--r-- | libimagtodo/src/task.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libimagtodo/src/task.rs b/libimagtodo/src/task.rs index db757735..eb5663e1 100644 --- a/libimagtodo/src/task.rs +++ b/libimagtodo/src/task.rs @@ -77,13 +77,13 @@ pub trait IntoTask<'a> { /// println!("Task with uuid: {}", task.flentry.get_header().get("todo.uuid")); /// } /// ``` - fn into_filelockentry(self, store : &'a Store) -> Result<Task<'a>>; + fn into_task(self, store : &'a Store) -> Result<Task<'a>>; } impl<'a> IntoTask<'a> for TTask { - fn into_filelockentry(self, store : &'a Store) -> Result<Task<'a>> { + fn into_task(self, store : &'a Store) -> Result<Task<'a>> { let uuid = self.uuid(); let store_id = ModuleEntryPath::new(format!("taskwarrior/{}", uuid)).into_storeid(); |