Explorar o código

Update Lambda.hx

Mark Knol %!s(int64=6) %!d(string=hai) anos
pai
achega
e342db45a4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      std/Lambda.hx

+ 1 - 1
std/Lambda.hx

@@ -238,7 +238,7 @@ class Lambda {
 
 		If `f` is null, the result is unspecified.
 	**/
-	public static function find<T>(it:Iterable<T>, f:(item:A) -> Bool):Null<T> {
+	public static function find<T>(it:Iterable<T>, f:(item:T) -> Bool):Null<T> {
 		for (v in it) {
 			if (f(v))
 				return v;