about summary refs log tree commit diff
path: root/src/libcore/lib.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-04-30 22:14:22 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-05-07 08:15:58 -0700
commit0c302938866cbccdecdcd78b42bb46106fdfa28e (patch)
treeb31c4f42be17d210b18df6772098fdbdd0b53fce /src/libcore/lib.rs
parentc5229e5d2ea6168ec80a7feeea1a513b2b3176c0 (diff)
downloadrust-0c302938866cbccdecdcd78b42bb46106fdfa28e.tar.gz
rust-0c302938866cbccdecdcd78b42bb46106fdfa28e.zip
core: Inherit what's possible from the num module
This strips out all string-related functionality from the num module. The
inherited functionality is all that will be implemented in libcore (for now).
Primarily, libcore will not implement the Float trait or any string-related
functionality.

It may be possible to migrate string parsing functionality into libcore in the
future, but for now it will remain in libstd.

All functionality in core::num is reexported in std::num.
Diffstat (limited to 'src/libcore/lib.rs')
-rw-r--r--src/libcore/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs
index e5f8011f91e..fbc38fa1e5c 100644
--- a/src/libcore/lib.rs
+++ b/src/libcore/lib.rs
@@ -21,6 +21,8 @@
 #![feature(globs, macro_rules, managed_boxes)]
 #![deny(missing_doc)]
 
+pub mod num;
+
 /* Core modules for ownership management */
 
 pub mod cast;