Skip to content

Commit f511ebc

Browse files
committed
Fix lint errors
1 parent 84bbdc2 commit f511ebc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

transport/v2rayquic/stream.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ type StreamWrapper struct {
1414

1515
func (s *StreamWrapper) Read(p []byte) (n int, err error) {
1616
n, err = s.Stream.Read(p)
17+
//nolint:staticcheck
1718
return n, baderror.WrapQUIC(err)
1819
}
1920

2021
func (s *StreamWrapper) Write(p []byte) (n int, err error) {
2122
n, err = s.Stream.Write(p)
23+
//nolint:staticcheck
2224
return n, baderror.WrapQUIC(err)
2325
}
2426

0 commit comments

Comments
 (0)