From cef25cf0dfca2f77cb13067815006ef53467a0b1 Mon Sep 17 00:00:00 2001 From: ltabis Date: Fri, 22 Mar 2024 15:21:50 +0100 Subject: [PATCH] chore: remove TypeBuilder old comment api --- src/api/build_type.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/api/build_type.rs b/src/api/build_type.rs index 89e2784e1..bf08277ad 100644 --- a/src/api/build_type.rs +++ b/src/api/build_type.rs @@ -147,17 +147,6 @@ impl TypeBuilder<'_, T> { self } - /// Set a pretty-print name for the `type_of` function and comments. - /// - /// Available with the metadata feature only. - #[cfg(feature = "metadata")] - #[inline(always)] - pub fn with_name_and_comments(&mut self, name: &str, comments: &[&str]) -> &mut Self { - self.engine - .register_type_with_name_and_comments::(name, comments); - self - } - /// Pretty-print this custom type. #[inline(always)] pub fn on_print(