diff --git a/src/api/build_type.rs b/src/api/build_type.rs index a7e5dc30..7bc8d52a 100644 --- a/src/api/build_type.rs +++ b/src/api/build_type.rs @@ -100,7 +100,7 @@ impl<'a, T> TypeBuilder<'a, T> where T: Variant + Clone, { - pub(crate) fn new(engine: &'a mut Engine) -> Self { + fn new(engine: &'a mut Engine) -> Self { Self { engine, name: None,