diff --git a/library/std/src/sys/paths/unix.rs b/library/std/src/sys/paths/unix.rs index 7d916b843f24e..e023451b13c8c 100644 --- a/library/std/src/sys/paths/unix.rs +++ b/library/std/src/sys/paths/unix.rs @@ -47,7 +47,7 @@ pub fn getcwd() -> io::Result { #[cfg(target_os = "espidf")] pub fn chdir(_p: &path::Path) -> io::Result<()> { - crate::sys::pal::unsupported::unsupported() + crate::sys::pal::unsupported() } #[cfg(not(target_os = "espidf"))] @@ -385,7 +385,7 @@ pub fn current_exe() -> io::Result { #[cfg(any(target_os = "espidf", target_os = "horizon", target_os = "vita"))] pub fn current_exe() -> io::Result { - crate::sys::pal::unsupported::unsupported() + crate::sys::pal::unsupported() } #[cfg(target_os = "fuchsia")]