From 6bae1d448fd3a41367766ac32710ce7083d16db5 Mon Sep 17 00:00:00 2001 From: SupperZum Date: Fri, 10 May 2024 13:06:47 +0300 Subject: [PATCH] upd --- module/core/proper_path_tools/src/path.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/core/proper_path_tools/src/path.rs b/module/core/proper_path_tools/src/path.rs index 3644a0492f..4a6f742ca9 100644 --- a/module/core/proper_path_tools/src/path.rs +++ b/module/core/proper_path_tools/src/path.rs @@ -468,7 +468,7 @@ pub( crate ) mod private #[ cfg( feature = "no_std" ) ] use alloc::string::ToString; - if let Some( file_name ) = Path::new( path.as_ref() ).file_name() + if let Some( file_name ) = std::path::Path::new( path.as_ref() ).file_name() { if let Some( file_name_str ) = file_name.to_str() {