Utils: Removed redundant stdlib errors import

This commit is contained in:
diamondburned (Forefront) 2020-04-09 16:19:52 -07:00
parent cc530ce7a2
commit 86d32bdbe9
1 changed files with 1 additions and 3 deletions

View File

@ -9,8 +9,6 @@ import (
"sync"
"time"
stderr "errors"
"github.com/diamondburned/arikawa/utils/json"
"github.com/gorilla/websocket"
"github.com/pkg/errors"
@ -125,7 +123,7 @@ func (c *Conn) readLoop() {
b, err := c.handle()
if err != nil {
// Is the error an EOF?
if stderr.Is(err, io.EOF) {
if errors.Is(err, io.EOF) {
// Yes it is, exit.
return
}