Remove unused variable
This commit is contained in:
parent
ac804bd839
commit
991fd7c3d4
1 changed files with 0 additions and 7 deletions
|
@ -220,13 +220,6 @@ impl<'a> IntoTask<'a> for TTask {
|
||||||
use toml_query::read::TomlValueReadExt;
|
use toml_query::read::TomlValueReadExt;
|
||||||
use toml_query::set::TomlValueSetExt;
|
use toml_query::set::TomlValueSetExt;
|
||||||
|
|
||||||
// Helper for toml_query::read::TomlValueReadExt::read() return value, which does only
|
|
||||||
// return Result<T> instead of Result<Option<T>>, which is a real inconvenience.
|
|
||||||
//
|
|
||||||
let no_identifier = |e: &::toml_query::error::Error| -> bool {
|
|
||||||
is_match!(e.kind(), &::toml_query::error::ErrorKind::IdentifierNotFoundInDocument(_))
|
|
||||||
};
|
|
||||||
|
|
||||||
let uuid = self.uuid();
|
let uuid = self.uuid();
|
||||||
ModuleEntryPath::new(format!("taskwarrior/{}", uuid))
|
ModuleEntryPath::new(format!("taskwarrior/{}", uuid))
|
||||||
.into_storeid()
|
.into_storeid()
|
||||||
|
|
Loading…
Reference in a new issue