diff options
author | Cristian Greco <[email protected]> | 2020-10-22 15:34:53 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2020-12-02 10:59:53 +0900 |
commit | 95bb49d42568802e36b213a7139176dbf9f58672 (patch) | |
tree | 27fe30fb0fe8bf11048d2067b9886b7d467652f6 /ext/readline/readline.c | |
parent | 82dc0c6aa380ea736adcd5ea54ec8f77a9269007 (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/readline/readline.c')
-rw-r--r-- | ext/readline/readline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/readline/readline.c b/ext/readline/readline.c index 646be2b194..ae68cf7548 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); |