Format code with gofumpt (#724)
This commit fixes the style issues introduced in b81470d
according to the output
from gofumpt.
Details: https://deepsource.io/gh/anacrolix/torrent/transform/ccafd976-fc9a-4c8a-bbfe-bc36426e79cb/
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
This commit is contained in:
parent
b81470dc39
commit
e3d08999e1
|
@ -213,7 +213,6 @@ func decodeHugeString(t *testing.T, strLen int64, header, tail string, v interfa
|
|||
d := NewDecoder(r)
|
||||
d.MaxStrLen = maxStrLen
|
||||
return d.Decode(v)
|
||||
|
||||
}
|
||||
|
||||
// Ensure that bencode strings in various places obey the Decoder.MaxStrLen field.
|
||||
|
|
|
@ -60,9 +60,11 @@ func (me webrtcNetConn) RemoteAddr() net.Addr {
|
|||
func (w webrtcNetConn) SetDeadline(t time.Time) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (w webrtcNetConn) SetReadDeadline(t time.Time) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (w webrtcNetConn) SetWriteDeadline(t time.Time) error {
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue