fixed up comment

This commit is contained in:
James Strachan
2012-03-07 10:22:11 +00:00
parent cb45426d44
commit a6254ec4aa
+1 -1
View File
@@ -86,7 +86,7 @@ fun <T> java.lang.Iterable<T>.contains(item : T) : Boolean {
}
/**
* Convert collection of arbitrary elements to collection of
* Convert collection of arbitrary elements to collection of tuples of the index and the element
*/
fun <T> java.lang.Iterable<T>.withIndices() : java.lang.Iterable<#(Int, T)> {
return object : java.lang.Iterable<#(Int, T)> {