Skip to content

Commit e2d24ae

Browse files
BurdetteLamarpeterzhu2118
authored andcommitted
[DOC] Fix link
1 parent dc93aa5 commit e2d24ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/stringio/stringio.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ a binary stream may not be changed to text.
324324

325325
### Encodings
326326

327-
A stream has an encoding; see the [encodings document][encodings document].
327+
A stream has an encoding; see [Encodings][encodings document].
328328

329329
The initial encoding for a new or re-opened stream depends on its [data mode][data mode]:
330330

@@ -683,7 +683,7 @@ Reading:
683683
- #each_codepoint: reads each remaining codepoint, passing it to the block.
684684

685685
[bom]: https://en.wikipedia.org/wiki/Byte_order_mark
686-
[encodings document]: https://docs.ruby-lang.org/en/master/encodings_rdoc.html
686+
[encodings document]: https://docs.ruby-lang.org/en/master/language/encodings_rdoc.html
687687
[io class]: https://docs.ruby-lang.org/en/master/IO.html
688688
[kernel#puts]: https://docs.ruby-lang.org/en/master/Kernel.html#method-i-puts
689689
[kernel#readline]: https://docs.ruby-lang.org/en/master/Kernel.html#method-i-readline

0 commit comments

Comments
 (0)