Merge pull request #101523 from GreenApple10/feature/cleanslice_nil

Omit comparison with boolean constant
This commit is contained in:
Kubernetes Prow Robot 2021-05-07 03:37:03 -07:00 committed by GitHub
commit 6c658a86f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,7 +122,7 @@ func shouldStartNewLine(lastWord, str string) bool {
return true return true
} }
// preserve lines that look like they're starting lists // preserve lines that look like they're starting lists
if bullet.MatchString(str) == true { if bullet.MatchString(str) {
return true return true
} }
// otherwise combine // otherwise combine