More Close() docs

This commit is contained in:
Andrew Dunham 2015-04-14 22:13:56 -07:00
parent 1b6395ed0a
commit 0148f6ef12
2 changed files with 6 additions and 0 deletions

View file

@ -247,6 +247,9 @@ func (it *HasA) Stats() graph.IteratorStats {
}
// Close the subiterator, the result iterator (if any) and the HasA.
//
// Note: as this involves closing multiple iterators, only the first error
// encountered while closing will be reported (if any).
func (it *HasA) Close() error {
var ret error

View file

@ -181,6 +181,9 @@ func (it *LinksTo) Result() graph.Value {
}
// Close our subiterators.
//
// Note: as this involves closing multiple subiterators, only the first error
// encountered while closing will be reported (if any).
func (it *LinksTo) Close() error {
var ret error