Skip to content

Commit e1bb79c

Browse files
authored
Merge pull request #63 from naoyukis/delete_buf
delete buf
2 parents a1c5ae5 + 699629e commit e1bb79c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

noncolorable.go

-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ loop:
4242
continue
4343
}
4444

45-
var buf bytes.Buffer
4645
for {
4746
c, err := er.ReadByte()
4847
if err != nil {
@@ -51,7 +50,6 @@ loop:
5150
if ('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z') || c == '@' {
5251
break
5352
}
54-
buf.Write([]byte(string(c)))
5553
}
5654
}
5755

0 commit comments

Comments
 (0)