diff options
author | Herwin <herwinw@herwinw.nl> | 2023-10-20 11:26:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-20 18:26:37 +0900 |
commit | 8b3d044004be68acf2e71d43c51d99db3deff514 (patch) | |
tree | 36ee5a7fa96f7b714abc7cfc901123fb4b42f186 /re.c | |
parent | 0061eaddc9de7e80ebce6fadd00b92beed46bbee (diff) |
[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.
Diffstat (limited to 're.c')
-rw-r--r-- | re.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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") * # => #<MatchData "o"> @@ -2507,7 +2507,6 @@ match_inspect_name_iter(const OnigUChar *name, const OnigUChar *name_end, * m.inspect # => "#<MatchData \"fo\" 1:\"f\" 2:nil 3:\"o\">" * * Related: MatchData#to_s. - * */ static VALUE |