org.wartremover.warts.DropTakeToSlice.scala Maven / Gradle / Ivy
The newest version!
package org.wartremover
package warts
object DropTakeToSlice
extends ExprMatch({ case '{ ($x: collection.Iterable[t1]).drop($n).take($m) } =>
"you can use slice instead of drop.take"
})