From 7acfbb00f957020562847aed23a717597839c514 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arpad=20M=C3=BCller?= Date: Fri, 19 Jan 2024 21:59:06 +0100 Subject: [PATCH] fix --- libs/utils/src/fs_ext.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/utils/src/fs_ext.rs b/libs/utils/src/fs_ext.rs index 29b62ace05..6aba00f406 100644 --- a/libs/utils/src/fs_ext.rs +++ b/libs/utils/src/fs_ext.rs @@ -49,7 +49,7 @@ pub fn remove_dir_all(path: impl AsRef) -> io::Result<()> { other => Some(other), } } - let Some(list) = strip_not_found(std::fs::read_dir(path)) else { + let Some(list) = strip_not_found(std::fs::read_dir(&path)) else { return Ok(()); }; for entry in list? {