Skip to content

Commit 223ec68

Browse files
authored
remove unbound type parameters (#129)
I didn't check, but unbound type parameters often cause performance issues, so this may not be merely cosmetic. FTR, there's a relevant function in Test in stdlib for checking this stuff: https://docs.julialang.org/en/v1/stdlib/Test/#Test.detect_unbound_args
1 parent 0944265 commit 223ec68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ function peekbyte end
196196
incr!(io::IO) = readbyte(io)
197197
readbyte(from::IO) = Base.read(from, UInt8)
198198
peekbyte(from::IO) = UInt8(Base.peek(from))
199-
function dpeekbyte(s::IO) where T
199+
function dpeekbyte(s::IO)
200200
mark(s)
201201
b = EOF_BYTE
202202
nb = EOF_BYTE

0 commit comments

Comments
 (0)