diff options
author | Sergio Arbeo <serabe@gmail.com> | 2017-01-30 19:04:46 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2017-01-30 19:04:46 +0100 |
commit | 90c1bbd07862c6e1c3ce80306d69eee8ed277056 (patch) | |
tree | 5d24a7a015803fd2776b968b777ce5e017be9973 /plumbing/object/file.go | |
parent | a24e40af0aa2d9d512051269993a1b08c0496d12 (diff) | |
download | go-git-90c1bbd07862c6e1c3ce80306d69eee8ed277056.tar.gz |
Fix some typos in plumbing docs (#244)
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() |