forked from quic-go/quic-go
ci: enable the nolintlint linter (#5221)
This linter helps us find unneeded nolint statements.
This commit is contained in:
@@ -318,7 +318,6 @@ func (s congestionState) String() string {
|
||||
type ecn logging.ECN
|
||||
|
||||
func (e ecn) String() string {
|
||||
//nolint:exhaustive // The unsupported value is never logged.
|
||||
switch logging.ECN(e) {
|
||||
case logging.ECTNot:
|
||||
return "Not-ECT"
|
||||
|
||||
Reference in New Issue
Block a user