Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
SupperZum committed May 10, 2024
1 parent 226241c commit c4f7b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/core/proper_path_tools/src/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,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()
{
Expand Down

0 comments on commit c4f7b3d

Please sign in to comment.