Skip to content

Commit 3d4fd4d

Browse files
committed
#3 workaround for this issue
1 parent 03edd91 commit 3d4fd4d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/vector/mod.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,10 @@ pub trait VectorView<'a>:
101101
pub trait Vector:
102102
VectorOpsByValue<Self>
103103
+ for<'b> VectorOpsByValue<&'b Self>
104-
+ for<'a> VectorOpsByValue<Self::View<'a>>
105-
+ for<'a, 'b> VectorOpsByValue<&'b Self::View<'a>>
104+
// TODO: commenting out these because they cause a compiler hang (https://github.com/martinjrobins/diffsol/issues/3)
105+
// TODO: replace when this is fixed
106+
//+ for<'a> VectorOpsByValue<Self::View<'a>>
107+
//+ for<'a, 'b> VectorOpsByValue<&'b Self::View<'a>>
106108
+ Mul<Scale<Self::T>, Output = Self>
107109
+ Div<Scale<Self::T>, Output = Self>
108110
+ VectorMutOpsByValue<Self>

0 commit comments

Comments
 (0)