Commit 2f6189e
authored
x/tools/gopls/internal/analysis/modernize/stringscutprefix add space
Added a space so the fix does match the pattern shown in the description / comments.
Without this change the fix of the code would be edited to this:
after, ok :=strings.CutPrefix...
After the change it should looks like this:
after, ok := strings.CutPrefix...
Will add the space anyway, but it would be nice to have the space out of the box.1 parent b5e741b commit 2f6189e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
0 commit comments