diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2012-06-07 16:08:38 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-06-14 10:55:49 -0700 |
| commit | e38eaed9789a2eb9abc2f767d9487708e17ea3dd (patch) | |
| tree | 312564ee013a07451d3af9ec122bcfcd31ea7272 /src | |
| parent | 3a36ffe5ff3450ebd9dba0134f8841c831f3cd0f (diff) | |
| download | rust-e38eaed9789a2eb9abc2f767d9487708e17ea3dd.tar.gz rust-e38eaed9789a2eb9abc2f767d9487708e17ea3dd.zip | |
Add a Num typeclass
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/int-template.rs | 1 | ||||
| -rw-r--r-- | src/libcore/uint-template.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/libcore/int-template.rs b/src/libcore/int-template.rs index b1d1457654e..0599fa77f90 100644 --- a/src/libcore/int-template.rs +++ b/src/libcore/int-template.rs @@ -1,5 +1,6 @@ import T = inst::T; import cmp::{eq, ord}; +import num::num; export min_value, max_value; export min, max; diff --git a/src/libcore/uint-template.rs b/src/libcore/uint-template.rs index fda4253a688..f58a85c3618 100644 --- a/src/libcore/uint-template.rs +++ b/src/libcore/uint-template.rs @@ -1,5 +1,6 @@ import T = inst::T; import cmp::{eq, ord}; +import num::num; export min_value, max_value; export min, max; |
