From c2fe1f631c233f0a1bff00f4afdb10db02d2fd0a Mon Sep 17 00:00:00 2001 From: PThorpe92 Date: Thu, 27 Feb 2025 20:21:22 -0500 Subject: [PATCH] Remove confusing comment from ext types --- extensions/core/src/types.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/extensions/core/src/types.rs b/extensions/core/src/types.rs index 22ef47bae..76c76187c 100644 --- a/extensions/core/src/types.rs +++ b/extensions/core/src/types.rs @@ -390,12 +390,7 @@ impl Value { } } - /// Extension authors should __not__ use this function. - /// Extensions should _not_ use this method directly. When used properly, - /// core will own all Value types and they should not need to be manually free'd - /// in any extension code. However, if you are arbitrarily creating `Value` types - /// that do not follow the intended control flow/API of the exposed traits, and are - /// not returned to `core`, your extension _will_ leak the underlying memory. + /// Extension authors should __not__ use this function, or enable the 'core_only' feature /// /// # Safety /// consumes the value while freeing the underlying memory with null check.