Skip to content

Commit 0c30293

Browse files
committed
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.
1 parent c5229e5 commit 0c30293

File tree

3 files changed

+877
-849
lines changed

3 files changed

+877
-849
lines changed

src/libcore/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
#![feature(globs, macro_rules, managed_boxes)]
2222
#![deny(missing_doc)]
2323

24+
pub mod num;
25+
2426
/* Core modules for ownership management */
2527

2628
pub mod cast;

0 commit comments

Comments
 (0)