Skip to content

Commit 8fcf905

Browse files
committed
update paths in comments
1 parent 46ef190 commit 8fcf905

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

core/tests/num/int_log.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! This tests the `Integer::{ilog,log2,log10}` methods. These tests are in a
22
//! separate file because there's both a large number of them, and not all tests
33
//! can be run on Android. This is because in Android `ilog2` uses an imprecise
4-
//! approximation:https://github.com/rust-lang/rust/blob/4825e12fc9c79954aa0fe18f5521efa6c19c7539/src/libstd/sys/unix/android.rs#L27-L53
4+
//! approximation:https://github.com/rust-lang/rust/blob/4825e12fc9c79954aa0fe18f5521efa6c19c7539/src/libstd/sys/pal/unix/android.rs#L27-L53
55
66
#[test]
77
fn checked_ilog() {

std/src/sys/pal/solid/net.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ pub fn cvt_gai(err: c_int) -> io::Result<()> {
6868
}
6969
}
7070

71-
/// Just to provide the same interface as sys/unix/net.rs
71+
/// Just to provide the same interface as sys/pal/unix/net.rs
7272
pub fn cvt_r<T, F>(mut f: F) -> io::Result<T>
7373
where
7474
T: IsMinusOne,

std/src/sys/pal/wasi/os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ pub fn env() -> Env {
209209
return Env { iter: result.into_iter() };
210210
}
211211

212-
// See src/libstd/sys/unix/os.rs, same as that
212+
// See src/libstd/sys/pal/unix/os.rs, same as that
213213
fn parse(input: &[u8]) -> Option<(OsString, OsString)> {
214214
if input.is_empty() {
215215
return None;

std/src/sys/pal/windows/api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
//! This module must only depend on core and not on std types as the eventual
2828
//! hope is to have std depend on sys and not the other way around.
2929
//! However, some amount of glue code may currently be necessary so such code
30-
//! should go in sys/windows/mod.rs rather than here. See `IoResult` as an example.
30+
//! should go in sys/pal/windows/mod.rs rather than here. See `IoResult` as an example.
3131
3232
use core::ffi::c_void;
3333
use core::ptr::addr_of;

std/src/sys/pal/windows/net.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ pub fn cvt_gai(err: c_int) -> io::Result<()> {
9090
if err == 0 { Ok(()) } else { Err(last_error()) }
9191
}
9292

93-
/// Just to provide the same interface as sys/unix/net.rs
93+
/// Just to provide the same interface as sys/pal/unix/net.rs
9494
pub fn cvt_r<T, F>(mut f: F) -> io::Result<T>
9595
where
9696
T: IsMinusOne,

0 commit comments

Comments
 (0)