fn subtree<B>(b: &mut B, f: impl FnOnce(&mut B))
where
    B: HashTreeBuilder,
{
    b.start_subtree();
    f(b);
    b.finish_subtree();
}
/// Builds a subtree using the provided builder.
Builds a subtree using the provided builder.
Builds a subtree using the provided builder .
fn subtree<B>(b: &mut B, f: impl FnOnce(&mut B))
where
    B: HashTreeBuilder,
{
    b.start_subtree();
    f(b);
    b.finish_subtree();
}
fn subtree < B > ( b : & mut B , f : impl FnOnce ( & mut B ) ) where B : HashTreeBuilder , { b . start_subtree ( ) ; f ( b ) ; b . finish_subtree ( ) ; }
Builds a subtree using the provided builder.
Builds a subtree using the provided builder .
b
&mut B
f
impl FnOnce(&mut B)
b
&mut B
f
impl FnOnce(&mut B)