Commit 8e8eca9
Fix RBS syntax error
The newly-released RBS 4.0 rejects void in union types at the parser
level. The (Integer | void) return type on Readable#rewind now causes a
hard parse error.
Change to `void`, consistent with CompositeIO#rewind and the YARD
@return annotation.1 parent 866cb87 commit 8e8eca9
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1272 | 1272 | | |
1273 | 1273 | | |
1274 | 1274 | | |
1275 | | - | |
| 1275 | + | |
1276 | 1276 | | |
1277 | 1277 | | |
1278 | 1278 | | |
| |||
0 commit comments