Revert "Update to the last Rust."

This reverts commit c1b91eefbb.

As a matter of fact, Bounded has not been deleted.
However it is no longer automatically exported by the stdlib.
This commit is contained in:
Sébastien Crozet 2014-01-16 08:15:57 +01:00
parent c1b91eefbb
commit 98b2aa8b9c
1 changed files with 4 additions and 4 deletions

View File

@ -33,8 +33,8 @@ pub trait RealVec<N: Real>: Vec<N> + Norm<N> {
/// Trait grouping uncommon, low-level and borderline (from the mathematical point of view)
/// operations on vectors.
pub trait VecExt<N>: Vec<N> + Indexable<uint, N> + Iterable<N> + UniformSphereSample + ScalarAdd<N>
+ ScalarSub<N> + Orderable
pub trait VecExt<N>: Vec<N> + Indexable<uint, N> + Iterable<N> +
UniformSphereSample + ScalarAdd<N> + ScalarSub<N> + Bounded + Orderable
{ }
/// Trait grouping uncommon, low-level and borderline (from the mathematical point of view)
@ -47,8 +47,8 @@ Vec<N> for V { }
impl<N: Real, V: Vec<N> + Norm<N>> RealVec<N> for V { }
impl<N,
V: Vec<N> + Indexable<uint, N> + Iterable<N> + UniformSphereSample + ScalarAdd<N> +
ScalarSub<N> + Orderable>
V: Vec<N> + Indexable<uint, N> + Iterable<N> +
UniformSphereSample + ScalarAdd<N> + ScalarSub<N> + Bounded + Orderable>
VecExt<N> for V { }
impl<N: Real, V: RealVec<N> + VecExt<N> + Basis + Round> RealVecExt<N> for V { }