Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SupperZum committed May 12, 2024
1 parent c4f7b3d commit 981429a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion module/core/proper_path_tools/src/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,10 @@ pub( crate ) mod private
{
#[ cfg( target_os = "windows" ) ]
use std::path::PathBuf;
#[ cfg( feature = "no_std" ) ]
extern crate alloc;
#[ cfg( feature = "no_std" ) ]
use alloc::string::ToString;

// println!( "a" );
// let path = path.as_ref().canonicalize()?;
Expand Down Expand Up @@ -609,7 +613,7 @@ pub( crate ) mod private
///
/// * `path` - A mutable reference to a string representing the path to be cleaned.
///
fn path_remove_dots( path : &mut String )
fn path_remove_dots( path : &mut std::string::String )
{
let mut cleaned_parts = vec![];
for part in path.split( '/' )
Expand Down

0 comments on commit 981429a

Please sign in to comment.