Browse Source

Update Lambda.hx

Mark Knol 6 years ago
parent
commit
e342db45a4
1 changed files with 1 additions and 1 deletions
  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.
 		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) {
 		for (v in it) {
 			if (f(v))
 			if (f(v))
 				return v;
 				return v;