diff options
Diffstat (limited to 'src/syntax/node.rs')
| -rw-r--r-- | src/syntax/node.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/syntax/node.rs b/src/syntax/node.rs index db3b6510..d45e5952 100644 --- a/src/syntax/node.rs +++ b/src/syntax/node.rs @@ -36,8 +36,8 @@ impl Pretty for Node { Self::Raw(raw) => raw.pretty(p), Self::Expr(expr) => { if let Expr::Call(call) = expr { - // Format bracket calls appropriately. - pretty_bracket_call(call, p, false) + // Format function templates appropriately. + pretty_func_template(call, p, false) } else { expr.pretty(p); } @@ -58,7 +58,7 @@ pub struct NodeHeading { impl Pretty for NodeHeading { fn pretty(&self, p: &mut Printer) { for _ in 0 ..= self.level.v { - p.push_str("#"); + p.push_str("="); } self.contents.pretty(p); } |
