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>
d := NewDecoder(r)
d.MaxStrLen = maxStrLen
return d.Decode(v)
-
}
// Ensure that bencode strings in various places obey the Decoder.MaxStrLen field.
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
}