Reports compositions of drop and take and replaces them with slice.
drop
take
slice
Example:
var x: Seq[Int] x.drop(n).take(m) x.take(m).drop(n)
After the quick-fix is applied:
var x: Seq[Int] x.slice(n, n + m) x.slice(n, m)