Browse Source

[doc] KeyValueIterator fix

Mark Knol 6 years ago
parent
commit
69d31d2546
1 changed files with 2 additions and 2 deletions
  1. 2 2
      std/StdTypes.hx

+ 2 - 2
std/StdTypes.hx

@@ -154,8 +154,8 @@ typedef Iterable<T> = {
 typedef KeyValueIterator<K,V> = Iterator<{key:K, value:V}>;
 
 /**
-	A `KeyValueIterable` is a data structure which has an `iterator()` method
-	to iterate over key-value-pairs.
+	A `KeyValueIterable` is a data structure which has a `keyValueIterator()`
+	method to iterate over key-value-pairs.
 **/
 typedef KeyValueIterable<K,V> = {
     function keyValueIterator():KeyValueIterator<K,V>;