From f08264e5713ec818abb95ae303320be07758bc9a Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Mon, 14 Oct 2024 16:22:42 +0200 Subject: [PATCH] Use littlefs2 Error struct --- src/migrate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/migrate.rs b/src/migrate.rs index a48c2a7..c1c7c27 100644 --- a/src/migrate.rs +++ b/src/migrate.rs @@ -22,7 +22,7 @@ fn migrate_single(fs: &dyn DynFilesystem, path: &Path) -> Result<(), Error> { }); match dir_res { Ok(()) => fs.remove_dir(&path_dat), - Err(Error::NoSuchEntry) => Ok(()), + Err(Error::NO_SUCH_ENTRY) => Ok(()), Err(_) => dir_res, } }