diff options
-rw-r--r-- | content/module-compatibility.article | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/module-compatibility.article b/content/module-compatibility.article index 4377b34..9ade469 100644 --- a/content/module-compatibility.article +++ b/content/module-compatibility.article @@ -147,7 +147,7 @@ func NewReader(r io.Reader) *Reader { } func (r *Reader) Read(b []byte) (int, error) { - if rs, ok := r.r(io.Seeker); ok { + if rs, ok := r.r.(io.Seeker); ok { // Use more efficient rs.Seek. } // Use less efficient r.r.Read. |