Skip to content

Commit fae32ee

Browse files
Fixed Comment
1 parent 2b85ee2 commit fae32ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

chapter2/sample/search/match.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func Match(matcher Matcher, feed *Feed, searchTerm string, results chan<- *Resul
3636
// are received by the individual goroutines.
3737
func Display(results chan *Result) {
3838
// The channel blocks until a result is written to the channel.
39-
// Once the channel is close the for loop terminates.
39+
// Once the channel is closed the for loop terminates.
4040
for result := range results {
4141
log.Printf("%s:\n%s\n\n", result.Field, result.Content)
4242
}

0 commit comments

Comments
 (0)