diff --git a/doc/string/b.rdoc b/doc/string/b.rdoc index f8ad2910b4..8abd6d9532 100644 --- a/doc/string/b.rdoc +++ b/doc/string/b.rdoc @@ -12,3 +12,5 @@ the underlying bytes are not modified: t = s.b # => "\xE4\x82\x95" t.encoding # => # t.bytes # => [228, 130, 149] + +Related: see {Converting to New String}[rdoc-ref:String@Converting+to+New+String]. diff --git a/string.c b/string.c index 08d98aa042..9d6a917ee8 100644 --- a/string.c +++ b/string.c @@ -11839,7 +11839,7 @@ rb_str_force_encoding(VALUE str, VALUE enc) /* * call-seq: - * b -> string + * b -> new_string * * :include: doc/string/b.rdoc *