Skip to content

Commit 6135cbc

Browse files
committed
std: Flatten the num directory to reflect the module layout
This makes it dissimilar to how core is structured on disk, but more predictable on its own.
1 parent c251884 commit 6135cbc

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed
File renamed without changes.
File renamed without changes.

src/libstd/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,8 @@ pub use core_collections::vec;
423423
#[stable(feature = "rust1", since = "1.0.0")]
424424
pub use rustc_unicode::char;
425425

426-
#[path = "num/f32.rs"] pub mod f32;
427-
#[path = "num/f64.rs"] pub mod f64;
426+
pub mod f32;
427+
pub mod f64;
428428

429429
#[macro_use]
430430
pub mod thread;
File renamed without changes.

src/tools/tidy/src/pal.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ const EXCEPTION_PATHS: &'static [&'static str] = &[
6565
// temporary exceptions
6666
"src/libstd/rtdeps.rs", // Until rustbuild replaces make
6767
"src/libstd/path.rs",
68-
"src/libstd/num/f32.rs",
69-
"src/libstd/num/f64.rs",
68+
"src/libstd/f32.rs",
69+
"src/libstd/f64.rs",
7070
"src/libstd/sys_common/mod.rs",
7171
"src/libstd/sys_common/net.rs",
7272
"src/libterm", // Not sure how to make this crate portable, but test needs it

0 commit comments

Comments
 (0)