[前][次][番号順一覧][スレッド一覧]

ruby-changes:63832

From: Cristian <ko1@a...>
Date: Wed, 2 Dec 2020 11:00:20 +0900 (JST)
Subject: [ruby-changes:63832] 95bb49d425 (master): Fix code example in Readline::HISTORY documentation.

https://git.ruby-lang.org/ruby.git/commit/?id=95bb49d425

From 95bb49d42568802e36b213a7139176dbf9f58672 Mon Sep 17 00:00:00 2001
From: Cristian Greco <cristian@r...>
Date: Thu, 22 Oct 2020 15:34:53 +0100
Subject: Fix code example in Readline::HISTORY documentation.

Wrapping the example into a <code> block to avoid it being rendered as a link.

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) https://github.com/ruby/ruby/blob/trunk/ext/readline/readline.c#L2060
      * 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);
 
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]