diff options
| author | Marijn Schouten <mhkbst@gmail.com> | 2025-08-23 19:36:19 +0000 | 
|---|---|---|
| committer | Marijn Schouten <mhkbst@gmail.com> | 2025-08-26 06:36:53 +0000 | 
| commit | 845311a065a5638c516ed96c73b09862b176b329 (patch) | |
| tree | a53242a98adddb23ece0ff83ade5bb4d6663d47a /library/std/src/sys/pal/unix/os.rs | |
| parent | 6d6a08cf590ec26296447b8d2cf2329bb64c303a (diff) | |
| download | rust-845311a065a5638c516ed96c73b09862b176b329.tar.gz rust-845311a065a5638c516ed96c73b09862b176b329.zip | |
remove deprecated Error::description in impls
Diffstat (limited to 'library/std/src/sys/pal/unix/os.rs')
| -rw-r--r-- | library/std/src/sys/pal/unix/os.rs | 8 | 
1 files changed, 1 insertions, 7 deletions
| diff --git a/library/std/src/sys/pal/unix/os.rs b/library/std/src/sys/pal/unix/os.rs index 1110b775c09..81275afa707 100644 --- a/library/std/src/sys/pal/unix/os.rs +++ b/library/std/src/sys/pal/unix/os.rs @@ -7,7 +7,6 @@ mod tests; use libc::{c_char, c_int, c_void}; -use crate::error::Error as StdError; use crate::ffi::{CStr, OsStr, OsString}; use crate::os::unix::prelude::*; use crate::path::{self, PathBuf}; @@ -248,12 +247,7 @@ impl fmt::Display for JoinPathsError { } } -impl StdError for JoinPathsError { - #[allow(deprecated)] - fn description(&self) -> &str { - "failed to join paths" - } -} +impl crate::error::Error for JoinPathsError {} #[cfg(target_os = "aix")] pub fn current_exe() -> io::Result<PathBuf> { | 
