diff --git a/string.c b/string.c index c8b6e50846..3bf6f42e2a 100644 --- a/string.c +++ b/string.c @@ -1997,7 +1997,7 @@ rb_str_times(VALUE str, VALUE times) * the result of applying it to arg. If the format * specification contains more than one substitution, then arg * must be an Array or Hash containing the values to be - * substituted. See Kernel::sprintf for details of the format string. + * substituted. See Kernel#sprintf for details of the format string. * * "%05d" % 123 #=> "00123" * "%-5s: %016x" % [ "ID", self.object_id ] #=> "ID : 00002b054ec93168"