1
0
mirror of https://github.com/golang/go synced 2024-11-23 09:00:04 -07:00

Fixed spelling error

This commit is contained in:
Norman B. Lancaster 2020-08-14 11:25:35 -05:00
parent 2cfc2288d5
commit f42429946a

View File

@ -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")