x/tools/gopls/internal/analysis/modernize: use strings.CutPrefix et al #71369
Labels
gopls
Issues related to the Go language server, gopls.
Refactoring
Issues related to refactoring tools
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
Replace:
Variants:
if rest := strings.TrimPrefix(s, pre); rest != s { use(rest) }
-> ...cc: @josharian
The text was updated successfully, but these errors were encountered: