diff --git a/doc/api/readline.md b/doc/api/readline.md index c7bb1b3d782678..4c12427b32e95d 100644 --- a/doc/api/readline.md +++ b/doc/api/readline.md @@ -561,7 +561,7 @@ will not terminate until it receives `EOF` (Ctrl+D on Linux/macOS, Ctrl+Z followed by Return on Windows). If you want your application to exit without waiting for user input, you can -[`unref`][] the standard input stream: +[`unref()`][] the standard input stream: ```js process.stdin.unref(); @@ -901,5 +901,5 @@ const { createInterface } = require('readline'); [`process.stdin`]: process.md#process_process_stdin [`process.stdout`]: process.md#process_process_stdout [`rl.close()`]: #readline_rl_close +[`unref()`]: net.md#net_socket_unref [reading files]: #readline_example_read_file_stream_line_by_line -[`unref`]: net.md#net_socket_unref