Function todo_lib::todo::save

source ·
pub fn save(tasks: &TaskSlice, filename: &Path) -> Result<(), TodoError>
Expand description

Saves the list of todos into a local file. Returns an error if saving fails.