minor internal documentation changes

This commit is contained in:
aaron-jack-manning
2022-08-25 20:55:28 +10:00
parent 0f542eb054
commit fccb2c0696
4 changed files with 20 additions and 11 deletions

View File

@@ -446,7 +446,7 @@ pub fn list(options : super::ListOptions, vault_folder : &path::Path) -> Result<
before : None,
after : None,
due_in : None,
include_complete : false,
include_completed : false,
};
// If the arguments are not given, use a set of defaults.
@@ -484,7 +484,7 @@ pub fn list(options : super::ListOptions, vault_folder : &path::Path) -> Result<
}
}));
}
if !options.include_complete {
if !options.include_completed {
tasks = Box::new(tasks.filter(|t| t.data.completed.is_none()));
}