Skip to content

Commit 5ce49eb

Browse files
committed
Rename prefix.rs to windows_prefix.rs
1 parent 8d2caed commit 5ce49eb

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

library/std/src/sys/path/cygwin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub fn is_verbatim_sep(b: u8) -> bool {
1515
b == b'/' || b == b'\\'
1616
}
1717

18-
pub use super::prefix::parse_prefix;
18+
pub use super::windows_prefix::parse_prefix;
1919

2020
pub const MAIN_SEP_STR: &str = "/";
2121
pub const MAIN_SEP: char = '/';

library/std/src/sys/path/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cfg_if::cfg_if! {
22
if #[cfg(target_os = "windows")] {
3-
mod prefix;
43
mod windows;
4+
mod windows_prefix;
55
pub use windows::*;
66
} else if #[cfg(all(target_vendor = "fortanix", target_env = "sgx"))] {
77
mod sgx;
@@ -14,7 +14,7 @@ cfg_if::cfg_if! {
1414
pub use uefi::*;
1515
} else if #[cfg(target_os = "cygwin")] {
1616
mod cygwin;
17-
mod prefix;
17+
mod windows_prefix;
1818
pub use cygwin::*;
1919
} else {
2020
mod unix;

library/std/src/sys/path/windows.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use crate::{io, ptr};
77
#[cfg(test)]
88
mod tests;
99

10-
pub use super::prefix::parse_prefix;
10+
pub use super::windows_prefix::parse_prefix;
1111

1212
pub const MAIN_SEP_STR: &str = "\\";
1313
pub const MAIN_SEP: char = '\\';

0 commit comments

Comments
 (0)