Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
riederm committed Jun 10, 2024
1 parent 5dc9a23 commit ac26a8c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions compiler/plc_ast/src/visitor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ macro_rules! visit_nodes {
/// use plc_ast::ast::AstNode;
/// use plc_ast::visitor::Walker;
/// use plc_ast::visitor::AstVisitor;
///
///
/// struct MyAssignment {
/// left: AstNode,
/// right: AstNode,
/// }
///
///
/// impl Walker for MyAssignment {
/// fn walk<V>(&self, visitor: &mut V)
/// where
Expand All @@ -60,8 +60,6 @@ pub trait Walker {
V: AstVisitor;
}



/// The `AstVisitor` trait provides a set of methods for visiting different types of AST nodes.
/// Implementors can individually override the methods they are interested in. When overriding a method,
/// make sure to call `walk` on the visited statement to visit its children. DO NOT call walk on
Expand Down

0 comments on commit ac26a8c

Please sign in to comment.