make TypeBuilder::new private

This commit is contained in:
Tristan Guichaoua 2022-08-09 09:44:01 +02:00
parent acbda7f66c
commit 87baed717f

View File

@ -100,7 +100,7 @@ impl<'a, T> TypeBuilder<'a, T>
where where
T: Variant + Clone, T: Variant + Clone,
{ {
pub(crate) fn new(engine: &'a mut Engine) -> Self { fn new(engine: &'a mut Engine) -> Self {
Self { Self {
engine, engine,
name: None, name: None,