Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ld
go-ld-prime
Commits
cc0a3f90
Unverified
Commit
cc0a3f90
authored
Jun 17, 2019
by
Matthias Beyer
Committed by
GitHub
Jun 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix doc
The iteration can stop if the `Done()` method returns true, not false.
parent
f2d59579
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
node.go
node.go
+1
-1
No files found.
node.go
View file @
cc0a3f90
...
...
@@ -106,7 +106,7 @@ type MapIterator interface {
Next
()
(
key
Node
,
value
Node
,
err
error
)
// Done returns false as long as there's at least one more entry to iterate.
// When Done returns
fals
e, iteration can stop.
// When Done returns
tru
e, iteration can stop.
//
// Implementers of iterators for advanced data layouts (e.g. more than
// one chunk of backing data, which is loaded incrementally), if your
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment