2
0

minor wording update

This commit is contained in:
Nate Finch
2014-06-15 08:12:37 -04:00
parent 2e9c10753f
commit 625d6c6216
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ const (
``` go ``` go
func IsWriteTooLong(err error) bool func IsWriteTooLong(err error) bool
``` ```
IsWriteTooLong returns whether the given error reports a write to Logger that IsWriteTooLong reports whether the given error indicates a Write with data that
exceeds the Logger's MaxSize. exceeds the Logger's MaxSize.
+2 -2
View File
@@ -358,8 +358,8 @@ func (b byFormatTime) time(i int) time.Time {
return t return t
} }
// IsWriteTooLong returns whether the given error reports a write to Logger that // IsWriteTooLong reports whether the given error indicates a Write with data
// exceeds the Logger's MaxSize. // that exceeds the Logger's MaxSize.
func IsWriteTooLong(err error) bool { func IsWriteTooLong(err error) bool {
if err == nil { if err == nil {
return false return false