From 48cc830ba826da7024b0490f89843ac328308194 Mon Sep 17 00:00:00 2001 From: Turiiya <34311583+ttytm@users.noreply.github.com> Date: Sun, 27 Aug 2023 12:40:21 +0200 Subject: [PATCH] os: update doc comment for `input_opt` return (#19223) --- vlib/os/os.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/os/os.v b/vlib/os/os.v index b7201209ff79f3..d70bdf0d09c5f8 100644 --- a/vlib/os/os.v +++ b/vlib/os/os.v @@ -276,7 +276,7 @@ pub fn file_name(opath string) string { } // input_opt returns a one-line string from stdin, after printing a prompt. -// In the event of error (end of input), it returns `none`. +// Returns `none` in case of an error (end of input). pub fn input_opt(prompt string) ?string { print(prompt) flush()