From 64d4e7727e650809cc29a874d4e4156964641ceb Mon Sep 17 00:00:00 2001 From: Burdette Lamar Date: Mon, 14 Jul 2025 09:05:00 -0500 Subject: [DOC] Tweaks for String#delete_suffix! (#13872) --- string.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'string.c') diff --git a/string.c b/string.c index 0d07b43a4b..c425eb56f0 100644 --- a/string.c +++ b/string.c @@ -11376,9 +11376,10 @@ deleted_suffix_length(VALUE str, VALUE suffix) * call-seq: * delete_suffix!(suffix) -> self or nil * - * Like String#delete_suffix, except that +self+ is modified in place. - * Returns +self+ if the suffix is removed, +nil+ otherwise. + * Like String#delete_suffix, except that +self+ is modified in place; + * returns +self+ if the suffix is removed, +nil+ otherwise. * + * Related: see {Modifying}[rdoc-ref:String@Modifying]. */ static VALUE -- cgit v1.2.3