From 46cfe3fcc14adb290d02f0d32e3bda56b50d1216 Mon Sep 17 00:00:00 2001 From: "H. S. Teoh" Date: Thu, 29 Jun 2017 11:11:17 -0700 Subject: [PATCH] Fix broken ddoc macro. --- std/typecons.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/typecons.d b/std/typecons.d index 6671f5e9d46..ac94ece139e 100644 --- a/std/typecons.d +++ b/std/typecons.d @@ -5141,7 +5141,7 @@ scope, they will automatically increment or decrement the reference count. When the reference count goes down to zero, $(D RefCounted) will call $(D destroy) against the payload and call $(D free) to deallocate the store. If the $(D T) payload contains any references -to GC-allocated memory, then $(RefCounted) will add it to the GC memory +to GC-allocated memory, then `RefCounted` will add it to the GC memory that is scanned for pointers, and remove it from GC scanning before $(D free) is called on the store.