From 53ca9fbb4c9a307379b0647130564f2ef3ad07c7 Mon Sep 17 00:00:00 2001 From: BurdetteLamar Date: Mon, 13 Oct 2025 17:27:50 +0100 Subject: [PATCH] [DOC] Tweaks for String#rjust --- doc/string/rjust.rdoc | 2 ++ string.c | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) 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