diff options
author | 2020-11-11 02:34:17 +0100 | |
---|---|---|
committer | 2020-11-11 02:34:17 +0100 | |
commit | 0400f6716bfb7bcae7d7e464e79e400f3ccc2368 (patch) | |
tree | fe3652d20cf5b181e37d4207c75a5c6e2eaccaf2 /examples/todos/src | |
parent | 1475b10dfff23ea30ad7e90c9964bafbd48e84c9 (diff) | |
download | iced-0400f6716bfb7bcae7d7e464e79e400f3ccc2368.tar.gz iced-0400f6716bfb7bcae7d7e464e79e400f3ccc2368.tar.bz2 iced-0400f6716bfb7bcae7d7e464e79e400f3ccc2368.zip |
Use `directories-next` in `todos` example
Diffstat (limited to 'examples/todos/src')
-rw-r--r-- | examples/todos/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/todos/src/main.rs b/examples/todos/src/main.rs index 7a546815..f88e9869 100644 --- a/examples/todos/src/main.rs +++ b/examples/todos/src/main.rs @@ -499,7 +499,7 @@ enum SaveError { impl SavedState { fn path() -> std::path::PathBuf { let mut path = if let Some(project_dirs) = - directories::ProjectDirs::from("rs", "Iced", "Todos") + directories_next::ProjectDirs::from("rs", "Iced", "Todos") { project_dirs.data_dir().into() } else { |