summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-08-18 10:16:44 +0900
committergit <svn-admin@ruby-lang.org>2023-08-18 01:17:03 +0000
commit1bbce42964a29f86f28b51285bf976c4a28a1a9e (patch)
tree4f29be26467c7b7922ce25c3a731041d3681bf8d /ext
parent1107cfd077486daa49f6c0bc62614d656651a5e6 (diff)
[ruby/io-console] [DOC] Remove a trailing space from the prompt too
https://github.com/ruby/io-console/commit/85a155f25f
Diffstat (limited to 'ext')
-rw-r--r--ext/io/console/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/console/console.c b/ext/io/console/console.c
index 37d3b6f6e6..7f1872b3d8 100644
--- a/ext/io/console/console.c
+++ b/ext/io/console/console.c
@@ -1580,7 +1580,7 @@ str_chomp(VALUE str)
* You must require 'io/console' to use this method.
*
* require 'io/console'
- * IO::console.getpass("Enter password: ")
+ * IO::console.getpass("Enter password:")
* Enter password:
* # => "mypassword"
*