From 7316fa4397dd23704955a0306f2f0e66a6853ca9 Mon Sep 17 00:00:00 2001 From: Brendan Zabarauskas Date: Sat, 1 Dec 2012 13:40:16 +1000 Subject: [PATCH] Make NumCast trait public --- src/num/cast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/num/cast.rs b/src/num/cast.rs index 797a7d4..aa94902 100644 --- a/src/num/cast.rs +++ b/src/num/cast.rs @@ -4,7 +4,7 @@ * the Num trait. I've found that it is especially handy in generic functions * when you need to mix floating point and integer values. */ -trait NumCast { +pub trait NumCast { static pure fn from(n: T) -> self; pure fn cast() -> T;