Function miniscript::expression::unary

source ·
pub fn unary<L, T, F>(term: &Tree<'_>, convert: F) -> Result<T, Error>where
    L: FromTree,
    F: FnOnce(L) -> T,
Expand description

Attempts to parse an expression with exactly one child