Skip to content

Commit e38eaed

Browse files
pcwaltoncatamorphism
authored andcommitted
Add a Num typeclass
1 parent 3a36ffe commit e38eaed

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/libcore/int-template.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import T = inst::T;
22
import cmp::{eq, ord};
3+
import num::num;
34

45
export min_value, max_value;
56
export min, max;

src/libcore/uint-template.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import T = inst::T;
22
import cmp::{eq, ord};
3+
import num::num;
34

45
export min_value, max_value;
56
export min, max;

0 commit comments

Comments
 (0)