Skip to content

Commit e69d672

Browse files
authored
Fix warning admonition in std/streams (#25564)
The rest of the body must be indented in order to fall under the warning admonition. Right now, only the first part of the warning is inside the admonition, see [std/streams](https://nim-lang.org/docs/streams.html).
1 parent bd709f9 commit e69d672

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/pure/streams.nim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
## stream interface.
1717
##
1818
## .. warning:: Due to the use of `pointer`, the `readData`, `peekData` and
19-
## `writeData` interfaces are not available on the compile-time VM, and must
20-
## be cast from a `ptr string` on the JS backend. However, `readDataStr` is
21-
## available generally in place of `readData`.
19+
## `writeData` interfaces are not available on the compile-time VM, and must
20+
## be cast from a `ptr string` on the JS backend. However, `readDataStr` is
21+
## available generally in place of `readData`.
2222
##
2323
## Basic usage
2424
## ===========

0 commit comments

Comments
 (0)