diff --git a/mocking.md b/mocking.md index e4c99eda..8d6a641e 100644 --- a/mocking.md +++ b/mocking.md @@ -180,7 +180,7 @@ func Countdown(out io.Writer) { } ``` -Use a `for` loop counting backwards with `i--` and use `fmt.Fprintln` to print to `out` with our number followed by a newline character. Finally use `fmt.Fprint` to send "Go!" aftward. +Use a `for` loop counting backwards with `i--` and use `fmt.Fprintln` to print to `out` with our number followed by a newline character. Finally, use `fmt.Fprint` to send "Go!" afterward. ## Refactor @@ -677,4 +677,4 @@ func countDownFrom(from int) iter.Seq[int] { } ``` -This is a simple iterator, which will yield numbers in reverse order, starting from, `from` - perfect for our usecase. \ No newline at end of file +This is a simple iterator, which will yield numbers in reverse order, starting from, `from` - perfect for our usecase.