From e38eaed9789a2eb9abc2f767d9487708e17ea3dd Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Thu, 7 Jun 2012 16:08:38 -0700 Subject: [PATCH] Add a Num typeclass --- src/libcore/int-template.rs | 1 + src/libcore/uint-template.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/libcore/int-template.rs b/src/libcore/int-template.rs index b1d1457654e2..0599fa77f907 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 fda4253a688d..f58a85c36180 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;