Skip to content

Commit dfa321e

Browse files
Rename withoffset to with
1 parent e702d29 commit dfa321e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/kotlin/KotlinFunctionLibrary.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1174,7 +1174,7 @@ println(x in z) //prints true
11741174

11751175
fun <A, B> Iterable<A>.with(other: Iterable<B>): ZippingIterable<A, B> =
11761176
ZippingIterable(this.iterator(), other.iterator())
1177-
fun <A, B> Iterable<A>.withOffset(other: Iterable<B>, offset: Int, applyOffsetToFirstIterable: Boolean = true, applyOffsetToSecondIterable: Boolean = true): ZippingIterableWithOffset<A, B> =
1177+
fun <A, B> Iterable<A>.with(other: Iterable<B>, offset: Int, applyOffsetToFirstIterable: Boolean = true, applyOffsetToSecondIterable: Boolean = true): ZippingIterableWithOffset<A, B> =
11781178
ZippingIterableWithOffset(this.iterator(), other.iterator(), offset, applyOffsetToFirstIterable, applyOffsetToSecondIterable)
11791179

11801180
@JvmStatic

0 commit comments

Comments
 (0)