Skip to content

Commit ebb648d

Browse files
committed
Fix cfg_if usage
1 parent 0498da9 commit ebb648d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libstd/sys/unix/os.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ use libc::{c_int, c_char, c_void};
2525

2626
const TMPBUF_SZ: usize = 128;
2727

28-
cfg_if! {
28+
cfg_if::cfg_if! {
2929
if #[cfg(target_os = "redox")] {
3030
const PATH_SEPARATOR: u8 = b';';
3131
} else {

src/libstd/sys/unix/process/process_common.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use crate::collections::BTreeMap;
1212

1313
use libc::{c_int, gid_t, uid_t, c_char, EXIT_SUCCESS, EXIT_FAILURE};
1414

15-
cfg_if! {
15+
cfg_if::cfg_if! {
1616
if #[cfg(target_os = "redox")] {
1717
const DEV_NULL: &'static str = "null:\0";
1818
} else {

0 commit comments

Comments
 (0)