From baa6005b9caf3804c1168c57459e6e14cde61f5c Mon Sep 17 00:00:00 2001 From: glutamatt Date: Sun, 13 Aug 2017 00:52:44 +0200 Subject: [PATCH] Fix type --- interface.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface.go b/interface.go index 77cd91af..41b607ca 100644 --- a/interface.go +++ b/interface.go @@ -48,7 +48,7 @@ type Session interface { // AcceptStream returns the next stream opened by the peer, blocking until one is available. // Since stream 1 is reserved for the crypto stream, the first stream is either 2 (for a client) or 3 (for a server). AcceptStream() (Stream, error) - // OpenStream opens a new QUIC stream, returning a special error when the peeer's concurrent stream limit is reached. + // OpenStream opens a new QUIC stream, returning a special error when the peer's concurrent stream limit is reached. // New streams always have the smallest possible stream ID. // TODO: Enable testing for the special error OpenStream() (Stream, error)