diff --git a/doc/string/rjust.rdoc b/doc/string/rjust.rdoc index 24e7bf3159..39e490b7cc 100644 --- a/doc/string/rjust.rdoc +++ b/doc/string/rjust.rdoc @@ -14,3 +14,5 @@ If +size+ is not greater than the size of +self+, returns a copy of +self+: 'hello'.rjust(5, 'ab') # => "hello" 'hello'.rjust(1, 'ab') # => "hello" + +Related: see {Converting to New String}[rdoc-ref:String@Converting+to+New+String]. diff --git a/string.c b/string.c index f797dab651..a0369ecb55 100644 --- a/string.c +++ b/string.c @@ -11181,8 +11181,6 @@ rb_str_ljust(int argc, VALUE *argv, VALUE str) * * :include: doc/string/rjust.rdoc * - * Related: String#ljust, String#center. - * */ static VALUE