mirror of
https://github.com/golang/go
synced 2024-11-23 09:00:04 -07:00
Fixed spelling error
This commit is contained in:
parent
2cfc2288d5
commit
f42429946a
@ -73,7 +73,7 @@ func (r *Reader) ReadByte() (byte, error) {
|
||||
return b, nil
|
||||
}
|
||||
|
||||
// UnreadByte implemnts the io.ByteScanner interface.
|
||||
// UnreadByte implements the io.ByteScanner interface.
|
||||
func (r *Reader) UnreadByte() error {
|
||||
if r.i <= 0 {
|
||||
return errors.New("strings.Reader.UnreadByte: at beginning of string")
|
||||
|
Loading…
Reference in New Issue
Block a user