Browse Source

[doc] KeyValueIterator fix

Mark Knol 6 năm trước cách đây
mục cha
commit
69d31d2546
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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>;