From 98b2aa8b9c2fde86f9e6b6b13a83d1d473ca46d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crozet?= Date: Thu, 16 Jan 2014 08:15:57 +0100 Subject: [PATCH] Revert "Update to the last Rust." This reverts commit c1b91eefbb87437491de221af40245c3a4a855ff. As a matter of fact, Bounded has not been deleted. However it is no longer automatically exported by the stdlib. --- src/traits/structure.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/traits/structure.rs b/src/traits/structure.rs index f6e5bf0f..deed3c9a 100644 --- a/src/traits/structure.rs +++ b/src/traits/structure.rs @@ -33,8 +33,8 @@ pub trait RealVec: Vec + Norm { /// Trait grouping uncommon, low-level and borderline (from the mathematical point of view) /// operations on vectors. -pub trait VecExt: Vec + Indexable + Iterable + UniformSphereSample + ScalarAdd - + ScalarSub + Orderable +pub trait VecExt: Vec + Indexable + Iterable + + UniformSphereSample + ScalarAdd + ScalarSub + Bounded + Orderable { } /// Trait grouping uncommon, low-level and borderline (from the mathematical point of view) @@ -47,8 +47,8 @@ Vec for V { } impl + Norm> RealVec for V { } impl + Indexable + Iterable + UniformSphereSample + ScalarAdd + - ScalarSub + Orderable> + V: Vec + Indexable + Iterable + + UniformSphereSample + ScalarAdd + ScalarSub + Bounded + Orderable> VecExt for V { } impl + VecExt + Basis + Round> RealVecExt for V { }