1use pathx::normalize; 2use std::path::Path; 3 4fn main() { 5 // Normalizing a path 6 let path = Path::new("foo/./bar/../baz"); 7 let normalized = normalize(path).unwrap(); 8 println!("Normalized path: {normalized:?}"); 9}