Skip to content

Commit

Permalink
chore: remove TypeBuilder old comment api
Browse files Browse the repository at this point in the history
ltabis committed Mar 22, 2024
1 parent 26976f9 commit cef25cf
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/api/build_type.rs
Original file line number Diff line number Diff line change
@@ -147,17 +147,6 @@ impl<T: Variant + Clone> 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::<T>(name, comments);
self
}

/// Pretty-print this custom type.
#[inline(always)]
pub fn on_print(

0 comments on commit cef25cf

Please sign in to comment.