Fix typos in comments (#3415)

This commit is contained in:
Maximilien Richer
2017-11-01 01:00:06 +01:00
committed by Daniel Nelson
parent 63842d48fd
commit 5f215c22fe
26 changed files with 33 additions and 33 deletions

View File

@@ -647,7 +647,7 @@ func skipWhitespace(buf []byte, i int) int {
}
// makeError is a helper function for making a metric parsing error.
// reason is the reason that the error occured.
// reason is the reason why the error occurred.
// buf should be the current buffer we are parsing.
// i is the current index, to give some context on where in the buffer we are.
func makeError(reason string, buf []byte, i int) error {