From 9784f9d8a5390a9a5ed003336ec2098f5247e061 Mon Sep 17 00:00:00 2001 From: Johan Perez Date: Thu, 8 Aug 2019 21:00:46 -0500 Subject: [PATCH] Updating Docs for Slide Function --- src/main/scala/stdlib/Traversables.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/stdlib/Traversables.scala b/src/main/scala/stdlib/Traversables.scala index 70fa4605..a5b9734b 100644 --- a/src/main/scala/stdlib/Traversables.scala +++ b/src/main/scala/stdlib/Traversables.scala @@ -277,7 +277,7 @@ object Traversables extends FlatSpec with Matchers with org.scalaexercises.defin list.init should be(res0) } - /** Given a `from` index, and a `to` index, `slice` will return the part of the collection including `from`, and excluding `to`: + /** Given a `from` index, and a `until` index, `slice` will return the part of the collection including `from`, and excluding `until`: */ def sliceFunctionTraversables(res0: List[Int]) { val list = List(10, 19, 45, 1, 22)