Fix typos.

This commit is contained in:
Mike Boone
2015-11-11 21:20:34 -05:00
parent f4904fce17
commit 342036408e
10 changed files with 13 additions and 13 deletions

View File

@@ -284,7 +284,7 @@ func (s *BufferedSubscription) Since(id int, into []Event) []Event {
}
// Error returns a string pointer suitable for JSON marshalling errors. It
// retains the "null on sucess" semantics, but ensures the error result is a
// retains the "null on success" semantics, but ensures the error result is a
// string regardless of the underlying concrete error type.
func Error(err error) *string {
if err == nil {