docs: fix bad reStructuredText directive (#4129)

reStructuredText requires a `::` (double-colon) to read something
as a valid directive. Otherwise, it assumes that the text is just
a comment.

Introduced in commit 66319cf494.
This commit is contained in:
Alois Klink 2023-10-17 23:27:00 +01:00 committed by GitHub
parent a877ca2435
commit 71ffdec4fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ API
If a path on Unix exceeds ``sizeof(sockaddr_un.sun_path)`` bytes, typically between
92 and 108 bytes, ``uv_pipe_bind`` will fail with ``UV_ENAMETOOLONG``.
.. versionchanged: 2.0.0 long filenames will lead to an error rather than being truncated
.. versionchanged:: 2.0.0 long filenames will lead to an error rather than being truncated
.. c:function:: void uv_pipe_connect(uv_connect_t* req, uv_pipe_t* handle, const char* name, uv_connect_cb cb)
@ -69,7 +69,7 @@ API
If a path on Unix exceeds ``sizeof(sockaddr_un.sun_path)`` bytes, typically between
92 and 108 bytes, ``uv_pipe_bind`` will fail with ``UV_ENAMETOOLONG``.
.. versionchanged: 2.0.0 long filenames will lead to an error rather than being truncated
.. versionchanged:: 2.0.0 long filenames will lead to an error rather than being truncated
.. c:function:: int uv_pipe_getsockname(const uv_pipe_t* handle, char* buffer, size_t* size)