summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2025-03-17 16:12:34 -0400
committerPeter Zhu <[email protected]>2025-03-17 16:12:34 -0400
commit2dc501497e4e49c20be87dfbd86337f9e0795ec7 (patch)
treef0e20954f21ce8305339d01357e4f292c27e698b
parent52f6563422edd9b233dbe5f522058be230c63651 (diff)
[DOC] Fix indentation for documentation of Hash#compact
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index 985aa1d93b..ed16468e72 100644
--- a/hash.c
+++ b/hash.c
@@ -4424,7 +4424,7 @@ delete_if_nil(VALUE key, VALUE value, VALUE hash)
* h = {foo: 0, bar: nil, baz: 2, bat: nil}
* h.compact # => {foo: 0, baz: 2}
*
- * Related: see {Methods for Deleting}[rdoc-ref:Hash@Methods+for+Deleting].
+ * Related: see {Methods for Deleting}[rdoc-ref:Hash@Methods+for+Deleting].
*/
static VALUE