diff --git a/core/src/mast/node/mod.rs b/core/src/mast/node/mod.rs index 8b42b148f..57f4327e1 100644 --- a/core/src/mast/node/mod.rs +++ b/core/src/mast/node/mod.rs @@ -113,10 +113,7 @@ impl MastNode { matches!(self, Self::Block(_)) } - pub(crate) fn to_pretty_print<'a>( - &'a self, - mast_forest: &'a MastForest, - ) -> impl PrettyPrint + 'a { + pub fn to_pretty_print<'a>(&'a self, mast_forest: &'a MastForest) -> impl PrettyPrint + 'a { match self { MastNode::Block(basic_block_node) => { MastNodePrettyPrint::new(Box::new(basic_block_node))