From 8b3d044004be68acf2e71d43c51d99db3deff514 Mon Sep 17 00:00:00 2001 From: Herwin Date: Fri, 20 Oct 2023 11:26:37 +0200 Subject: [DOC] Indentation fix in comments of MatchData#inspect The old version did not add syntax highlighting to the code block, and included the "Related:" line in the code block as well. --- re.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/re.c b/re.c index 535f599ca1..242b78a95f 100644 --- a/re.c +++ b/re.c @@ -2489,10 +2489,10 @@ match_inspect_name_iter(const OnigUChar *name, const OnigUChar *name_end, } /* - * call-seq: - * inspect -> string + * call-seq: + * inspect -> string * - * Returns a string representation of +self+: + * Returns a string representation of +self+: * * m = /.$/.match("foo") * # => # @@ -2507,7 +2507,6 @@ match_inspect_name_iter(const OnigUChar *name, const OnigUChar *name_end, * m.inspect # => "#" * * Related: MatchData#to_s. - * */ static VALUE -- cgit v1.2.3