Skip to content

Commit

Permalink
Merge pull request twitter#518 from joshualande/fix_type
Browse files Browse the repository at this point in the history
Fix the input type of Operators.toRichTraversable
  • Loading branch information
johnynek committed Apr 14, 2016
2 parents 7bcbc68 + ec6ca8a commit 01ee2f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ object Operators {
implicit def toMinus[T: Group](t: T) = new MinusOp(t)
implicit def toTimes[T: Ring](t: T) = new TimesOp(t)
implicit def toDiv[T: Field](t: T) = new DivOp(t)
implicit def toRichTraversable[T](t: Traversable[T]) = new RichTraversable(t)
implicit def toRichTraversable[T](t: TraversableOnce[T]) = new RichTraversable(t)
}

class PlusOp[T: Semigroup](t: T) {
Expand Down

0 comments on commit 01ee2f0

Please sign in to comment.