diff options
Diffstat (limited to 'plumbing/object/file.go')
-rw-r--r-- | plumbing/object/file.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plumbing/object/file.go b/plumbing/object/file.go index 4846f98..4dc1a9f 100644 --- a/plumbing/object/file.go +++ b/plumbing/object/file.go @@ -85,8 +85,8 @@ func (iter *FileIter) Next() (*File, error) { } } -// ForEach call the cb function for each file contained on this iter until -// an error happends or the end of the iter is reached. If plumbing.ErrStop is sent +// ForEach call the cb function for each file contained in this iter until +// an error happens or the end of the iter is reached. If plumbing.ErrStop is sent // the iteration is stop but no error is returned. The iterator is closed. func (iter *FileIter) ForEach(cb func(*File) error) error { defer iter.Close() |