summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorCristian Greco <cristian@regolo.cc>2020-10-22 15:34:53 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-12-02 10:59:53 +0900
commit95bb49d42568802e36b213a7139176dbf9f58672 (patch)
tree27fe30fb0fe8bf11048d2067b9886b7d467652f6 /ext
parent82dc0c6aa380ea736adcd5ea54ec8f77a9269007 (diff)
Fix code example in Readline::HISTORY documentation.
Wrapping the example into a <code> block to avoid it being rendered as a link.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3686
Diffstat (limited to 'ext')
-rw-r--r--ext/readline/readline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/readline/readline.c b/ext/readline/readline.c
index 646be2b..ae68cf7 100644
--- a/ext/readline/readline.c
+++ b/ext/readline/readline.c
@@ -2060,7 +2060,7 @@ Init_readline(void)
* The history buffer. It extends Enumerable module, so it behaves
* just like an array.
* For example, gets the fifth content that the user input by
- * HISTORY[4].
+ * <code>HISTORY[4]</code>.
*/
rb_define_const(mReadline, "HISTORY", history);