summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2022-12-20 15:18:36 -0500
committerPeter Zhu <peter@peterzhu.ca>2022-12-20 15:18:36 -0500
commit39e70eef724d1c4b50a6ee894c35a3e60773671c (patch)
tree93b1c1632dbc764752ec4d7b45c795515811d411
parent9f4472cad76ced858e84095bd64089900265f4b4 (diff)
[DOC] Fix formatting for GC.compact
-rw-r--r--gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index 2f4431fdef..0fccc17a32 100644
--- a/gc.c
+++ b/gc.c
@@ -10902,7 +10902,7 @@ heap_check_moved_i(void *vstart, void *vend, size_t stride, void *data)
* This function compacts objects together in Ruby's heap. It eliminates
* unused space (or fragmentation) in the heap by moving objects in to that
* unused space. This function returns a hash which contains statistics about
- * which objects were moved. See `GC.latest_gc_info` for details about
+ * which objects were moved. See <tt>GC.latest_gc_info</tt> for details about
* compaction statistics.
*
* This method is implementation specific and not expected to be implemented