Skip to content

Commit

Permalink
Fix typo in manual's description of isdone (#44306)
Browse files Browse the repository at this point in the history
Closes #44283
  • Loading branch information
cmcaine committed Feb 23, 2022
1 parent 26b0b6e commit 114e33b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/src/manual/interfaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ to generically build upon those behaviors.
| `eltype(IterType)` | `Any` | The type of the first entry of the tuple returned by `iterate()` |
| `length(iter)` | (*undefined*) | The number of items, if known |
| `size(iter, [dim])` | (*undefined*) | The number of items in each dimension, if known |
| `Base.isdone(iter[, state])` | `missing` | Fast-path hint for iterator completion. Should be defined for mutable iterators, or else `isempty(iter)` will call `iterate(iter[, state])` and may mutate the iterator. |
| `Base.isdone(iter[, state])` | `missing` | Fast-path hint for iterator completion. Should be defined for stateful iterators, or else `isempty(iter)` may call `iterate(iter[, state])` and mutate the iterator. |

| Value returned by `IteratorSize(IterType)` | Required Methods |
|:------------------------------------------ |:------------------------------------------ |
Expand Down

0 comments on commit 114e33b

Please sign in to comment.