Skip to content

Commit

Permalink
remove unused err
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPolo committed Dec 6, 2024
1 parent a84a1a6 commit 504e536
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ const peekSize = 3

type PeekedBytes = [peekSize]byte

var errNotSupported = errors.New("not supported on this platform")

var ErrNotTCPConn = errors.New("passed conn is not a TCPConn")

func PeekBytes(conn manet.Conn) (PeekedBytes, manet.Conn, error) {
Expand Down

0 comments on commit 504e536

Please sign in to comment.