Skip to content

Commit

Permalink
Merge pull request bitcoindevkit#66 from instagibbs/unary_one_child
Browse files Browse the repository at this point in the history
Fixup unary parsing comment
  • Loading branch information
apoelstra authored Dec 13, 2019
2 parents 8af0bb7 + 7607b3b commit aa99748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/expression.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ where
}
}

/// Attempts to parse an expression with exactly two children
/// Attempts to parse an expression with exactly one child
pub fn unary<L, T, F>(term: &Tree, convert: F) -> Result<T, Error>
where
L: FromTree,
Expand Down

0 comments on commit aa99748

Please sign in to comment.