From c1b91eefbb87437491de221af40245c3a4a855ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crozet?= Date: Thu, 16 Jan 2014 08:12:33 +0100 Subject: [PATCH] Update to the last Rust. The `Bounded` trait does not exist any more. --- 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 deed3c9a..f6e5bf0f 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 + Bounded + Orderable +pub trait VecExt: Vec + Indexable + Iterable + UniformSphereSample + ScalarAdd + + ScalarSub + 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 + Bounded + Orderable> + V: Vec + Indexable + Iterable + UniformSphereSample + ScalarAdd + + ScalarSub + Orderable> VecExt for V { } impl + VecExt + Basis + Round> RealVecExt for V { }