Skip to content

Commit 9f3d3f9

Browse files
committed
---
yaml --- r: 57773 b: refs/heads/incoming c: 024bf2e h: refs/heads/master i: 57771: c722e19 v: v3
1 parent 8d701aa commit 9f3d3f9

File tree

6 files changed

+8
-6
lines changed

6 files changed

+8
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: bf67eb2362b7d0f37012f2d6dac604c3bbacd2c6
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/incoming: d4868ee74085c2dc2943ef9407ced2d06e43abf6
9+
refs/heads/incoming: 024bf2ec72bdc2428d5c58a59bfed7da1bbc4efd
1010
refs/heads/dist-snap: 00dbbd01c2aee72982b3e0f9511ae1d4428c3ba9
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/src/libcore/core.rc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ pub use iter::{BaseIter, ExtendedIter, EqIter, CopyableIter};
103103
pub use iter::{CopyableOrderedIter, CopyableNonstrictIter, Times};
104104
pub use iter::{ExtendedMutableIter};
105105

106-
pub use num::{Num, Signed, Unsigned, Natural, NumCast};
106+
pub use num::{Num, NumCast};
107+
pub use num::{Signed, Unsigned, Integer};
107108
pub use ptr::Ptr;
108109
pub use to_str::ToStr;
109110
pub use clone::Clone;

branches/incoming/src/libcore/num/int-template.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ impl Signed for T {
279279
fn is_negative(&self) -> bool { *self < 0 }
280280
}
281281
282-
impl Natural for T {
282+
impl Integer for T {
283283
/**
284284
* Floored integer division
285285
*

branches/incoming/src/libcore/num/num.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ pub fn abs<T:Ord + Zero + Neg<T>>(v: T) -> T {
6161
if v < Zero::zero() { v.neg() } else { v }
6262
}
6363

64-
pub trait Natural: Num
64+
pub trait Integer: Num
6565
+ Ord
6666
+ Quot<Self,Self>
6767
+ Rem<Self,Self> {

branches/incoming/src/libcore/num/uint-template.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ impl Neg<T> for T {
176176
177177
impl Unsigned for T {}
178178
179-
impl Natural for T {
179+
impl Integer for T {
180180
/// Unsigned integer division. Returns the same result as `quot` (`/`).
181181
#[inline(always)]
182182
fn div(&self, other: T) -> T { *self / other }

branches/incoming/src/libcore/prelude.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ pub use hash::Hash;
3737
pub use iter::{BaseIter, ReverseIter, MutableIter, ExtendedIter, EqIter};
3838
pub use iter::{CopyableIter, CopyableOrderedIter, CopyableNonstrictIter};
3939
pub use iter::{Times, ExtendedMutableIter};
40-
pub use num::{Num, Signed, Unsigned, Natural, NumCast};
40+
pub use num::{Num, NumCast};
41+
pub use num::{Signed, Unsigned, Integer};
4142
pub use path::GenericPath;
4243
pub use path::Path;
4344
pub use path::PosixPath;

0 commit comments

Comments
 (0)