diff --git a/src/parser/nodes.rs b/src/parser/nodes.rs index 9c2a64b..d17bfd5 100644 --- a/src/parser/nodes.rs +++ b/src/parser/nodes.rs @@ -119,7 +119,7 @@ pub struct CommandNode { /// [`TreeNode`]: struct.TreeNode.html pub node: TreeNode, /// The handler which is executed once this node has been accepted. - pub handler: Option ()>, + pub handler: Option ()>, /// Parameter nodes for this command pub parameters: Vec>, /// If present, the command wrapped by this node. @@ -267,7 +267,7 @@ impl CommandNode { hidden: bool, priority: i32, successors: Vec>, - handler: Option ()>, + handler: Option ()>, parameters: Vec>) -> Self { CommandNode {