Update doc comments of utility functions on lists

This commit is contained in:
Alexander Udalov
2013-12-12 19:33:22 +04:00
parent 6546d7a1e7
commit 13214d2dec
+3 -3
View File
@@ -57,7 +57,7 @@ public inline fun <in T> List<T>.sort(transform: fun(T) : java.lang.Comparable<*
*/
/**
* Returns the first item in the list
* Returns the first item in the list or null if the list is empty
*
* @includeFunctionBody ../../test/ListTest.kt first
*/
@@ -66,7 +66,7 @@ val <T> List<T>.first : T?
/**
* Returns the last item in the list
* Returns the last item in the list or null if the list is empty
*
* @includeFunctionBody ../../test/ListTest.kt last
*/
@@ -85,7 +85,7 @@ val <T> List<T>.lastIndex : Int
get() = this.size - 1
/**
* Returns the first item in the list
* Returns the first item in the list or null if the list is empty
*
* @includeFunctionBody ../../test/ListTest.kt head
*/