From 90c1bbd07862c6e1c3ce80306d69eee8ed277056 Mon Sep 17 00:00:00 2001 From: Sergio Arbeo Date: Mon, 30 Jan 2017 19:04:46 +0100 Subject: Fix some typos in plumbing docs (#244) --- plumbing/object/file.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plumbing/object/file.go') 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() -- cgit