Commit c498b7b
committed
format: adjust rxCommentDirective per https://go.dev/doc/comment#syntax
The page shows slightly different regular expressions than the ones
we used. There was no good reason for that difference, so align them.
One exception does exist: go-sumtype uses dashes, but its directive came
before Go added the documented convention in 2022, so it gets a pass.
In our defense, we added this before upstream started documenting
a convention, as we prompted them to add that documentation
via https://go.dev/issue/issues back in 2021.1 parent 2d501b8 commit c498b7b
1 file changed
+9
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
| 312 | + | |
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | 324 | | |
328 | 325 | | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
333 | 334 | | |
334 | 335 | | |
335 | 336 | | |
| |||
0 commit comments