Skip to content

Commit 6ebe551

Browse files
Kai LuobzEq
Kai Luo
authored andcommitted
Fix typo
1 parent 8e047f1 commit 6ebe551

File tree

1 file changed

+1
-1
lines changed
  • library/std/src/sys/unix

1 file changed

+1
-1
lines changed

library/std/src/sys/unix/os.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ pub fn current_exe() -> io::Result<PathBuf> {
471471
if !path.is_absolute() { getcwd().map(|cwd| cwd.join(path)) } else { Ok(path) }
472472
}
473473

474-
#[cfg(target_os) = "aix")]
474+
#[cfg(target_os = "aix")]
475475
pub fn current_exe() -> io::Result<PathBuf> {
476476
use crate::io::ErrorKind;
477477

0 commit comments

Comments
 (0)