diff --git a/doc/api/readline.md b/doc/api/readline.md index 18e84389c6c1a2..aea1ac4da38622 100644 --- a/doc/api/readline.md +++ b/doc/api/readline.md @@ -638,7 +638,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(); @@ -978,5 +978,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