diff --git a/typify-impl/src/cycles.rs b/typify-impl/src/cycles.rs index bda7b34a..0ebc6f76 100644 --- a/typify-impl/src/cycles.rs +++ b/typify-impl/src/cycles.rs @@ -17,7 +17,7 @@ impl TypeSpace { /// We need to root out any containment cycles, breaking them by inserting /// a `Box` type. Our choice of *where* to break cycles is more arbitrary /// than optimal, but is well beyond sufficient. - pub fn break_cycles(&mut self, range: Range) { + pub(crate) fn break_cycles(&mut self, range: Range) { enum Node { Start { type_id: TypeId,