diff options
| author | Brendan Zabarauskas <bjzaba@yahoo.com.au> | 2013-04-24 22:45:57 +1000 |
|---|---|---|
| committer | Brendan Zabarauskas <bjzaba@yahoo.com.au> | 2013-04-25 08:20:00 +1000 |
| commit | 024bf2ec72bdc2428d5c58a59bfed7da1bbc4efd (patch) | |
| tree | 7ba0a339d6bf55e5191e94c697823895279b967f /src/libcore/core.rc | |
| parent | d4868ee74085c2dc2943ef9407ced2d06e43abf6 (diff) | |
| download | rust-024bf2ec72bdc2428d5c58a59bfed7da1bbc4efd.tar.gz rust-024bf2ec72bdc2428d5c58a59bfed7da1bbc4efd.zip | |
Rename Natural to Integer
'Natural' normally means 'positive integer' in mathematics. It is therefore strange to implement it on signed integer types. 'Integer' is probably a better choice.
Diffstat (limited to 'src/libcore/core.rc')
| -rw-r--r-- | src/libcore/core.rc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcore/core.rc b/src/libcore/core.rc index 7890d611e85..2a8de6a8032 100644 --- a/src/libcore/core.rc +++ b/src/libcore/core.rc @@ -103,7 +103,8 @@ pub use iter::{BaseIter, ExtendedIter, EqIter, CopyableIter}; pub use iter::{CopyableOrderedIter, CopyableNonstrictIter, Times}; pub use iter::{ExtendedMutableIter}; -pub use num::{Num, Signed, Unsigned, Natural, NumCast}; +pub use num::{Num, NumCast}; +pub use num::{Signed, Unsigned, Integer}; pub use ptr::Ptr; pub use to_str::ToStr; pub use clone::Clone; |
