diff --git a/crates/types/src/string.rs b/crates/types/src/string.rs index f8bfbcae..cd878f88 100644 --- a/crates/types/src/string.rs +++ b/crates/types/src/string.rs @@ -204,7 +204,7 @@ impl StringBuilder { pub fn finish(self) -> String { let s = String { data: self.inner.data, len: self.inner.len }; - // Prevent the `Drop` implementation from freeing this memory. + // Prevent self's destructor from being called. std::mem::forget(self); s