From c03b723f56c9b31fb566d83ebecaeae5860b78dd Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Wed, 10 Feb 2021 08:12:12 -0800 Subject: Update class documentation for StringScanner The [] wasn't being displayed, and try to fix formatting for bol? and << (even if they aren't linked). Fixes [Bug #17620] --- ext/strscan/strscan.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext') diff --git a/ext/strscan/strscan.c b/ext/strscan/strscan.c index 88074a0a26..6c9ebcd124 100644 --- a/ext/strscan/strscan.c +++ b/ext/strscan/strscan.c @@ -1537,7 +1537,7 @@ strscan_fixed_anchor_p(VALUE self) * * === Finding Where we Are * - * - #beginning_of_line? (#bol?) + * - #beginning_of_line? (#bol?) * - #eos? * - #rest? * - #rest_size @@ -1554,13 +1554,13 @@ strscan_fixed_anchor_p(VALUE self) * - #matched * - #matched? * - #matched_size - * - [] + * - #[] * - #pre_match * - #post_match * * === Miscellaneous * - * - << + * - << * - #concat * - #string * - #string= -- cgit v1.2.3