From 859093ea738466f1b42e2a0f5d57278718018acb Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Wed, 3 Aug 2016 01:25:32 +0300 Subject: [PATCH] Fix illegal pattern in a function pointer type --- src/parser/nodes.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {