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()