diff options
| author | bors <bors@rust-lang.org> | 2013-02-20 21:22:30 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-02-20 21:22:30 -0800 |
| commit | a02da4ecdef0bc810357db3566f97e9cc1f24c46 (patch) | |
| tree | e61b61fe772d4454a0901fbe48a4828933e5a0eb /src/libcore/num | |
| parent | 0aa1aaa2c1d095365e341017e443d61a960e0af6 (diff) | |
| parent | bf2a225c0b6f90f61bcaf4a6f33d9eaf424795b6 (diff) | |
| download | rust-a02da4ecdef0bc810357db3566f97e9cc1f24c46.tar.gz rust-a02da4ecdef0bc810357db3566f97e9cc1f24c46.zip | |
auto merge of #5063 : pcwalton/rust/plussing, r=pcwalton
Diffstat (limited to 'src/libcore/num')
| -rw-r--r-- | src/libcore/num/num.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/num/num.rs b/src/libcore/num/num.rs index e720c2fa108..7038ba07c0d 100644 --- a/src/libcore/num/num.rs +++ b/src/libcore/num/num.rs @@ -62,7 +62,7 @@ pub enum RoundMode { * ~~~ */ #[inline(always)] -pub pure fn cast<T:NumCast, U:NumCast>(n: T) -> U { +pub pure fn cast<T:NumCast,U:NumCast>(n: T) -> U { NumCast::from(n) } |
