File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 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]
77fn checked_ilog ( ) {
Original file line number Diff line number Diff 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
7272pub fn cvt_r < T , F > ( mut f : F ) -> io:: Result < T >
7373where
7474 T : IsMinusOne ,
Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff line change 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
3232use core:: ffi:: c_void;
3333use core:: ptr:: addr_of;
Original file line number Diff line number Diff 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
9494pub fn cvt_r < T , F > ( mut f : F ) -> io:: Result < T >
9595where
9696 T : IsMinusOne ,
You can’t perform that action at this time.
0 commit comments