Skip to content

Commit

Permalink
std: Flatten the num directory to reflect the module layout
Browse files Browse the repository at this point in the history
This makes it dissimilar to how core is structured on disk, but
more predictable on its own.
  • Loading branch information
brson committed Nov 1, 2016
1 parent c251884 commit 6135cbc
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/libstd/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -423,8 +423,8 @@ pub use core_collections::vec;
#[stable(feature = "rust1", since = "1.0.0")]
pub use rustc_unicode::char;

#[path = "num/f32.rs"] pub mod f32;
#[path = "num/f64.rs"] pub mod f64;
pub mod f32;
pub mod f64;

#[macro_use]
pub mod thread;
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/tools/tidy/src/pal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ const EXCEPTION_PATHS: &'static [&'static str] = &[
// temporary exceptions
"src/libstd/rtdeps.rs", // Until rustbuild replaces make
"src/libstd/path.rs",
"src/libstd/num/f32.rs",
"src/libstd/num/f64.rs",
"src/libstd/f32.rs",
"src/libstd/f64.rs",
"src/libstd/sys_common/mod.rs",
"src/libstd/sys_common/net.rs",
"src/libterm", // Not sure how to make this crate portable, but test needs it
Expand Down

0 comments on commit 6135cbc

Please sign in to comment.