[DOC] Fix missing colons in String

This commit is contained in:
Peter Zhu 2024-09-09 15:28:05 -04:00
parent bd7bc9e2ba
commit 88723dd5a5

View File

@ -164,8 +164,8 @@
# These instance methods make use of slicing:
#
# - String#[] (aliased as String#slice): returns a slice copied from +self+.
# - String#[]= returns a copy of +self+ with a slice replaced.
# - String#slice! returns +self+ with a slice removed.
# - String#[]=: returns a copy of +self+ with a slice replaced.
# - String#slice!: returns +self+ with a slice removed.
#
# Each of the above methods takes arguments that determine the slice
# to be copied or replaced.