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=