/// Adds a new edge labeled with `label` and pointing to a subtree built by `f`.
Adds a new edge labeled with `label` and pointing to a subtree built by `f`.
Adds a new edge labeled with ` label ` and pointing to a subtree built by ` f ` .
fn named_subtree<B>(b: &mut B, label: impl AsRef<[u8]>, f: impl FnOnce(&mut B))
where
    B: HashTreeBuilder,
{
    b.new_edge(Label::from(label));
    subtree(b, f);
}
fn named_subtree < B > ( b : & mut B , label : impl AsRef < [ u8 ] > , f : impl FnOnce ( & mut B ) ) where B : HashTreeBuilder , { b . new_edge ( Label :: from ( label ) ) ; subtree ( b , f ) ; }
Adds a new edge labeled with `label` and pointing to a subtree built by `f`.
Adds a new edge labeled with ` label ` and pointing to a subtree built by ` f ` .
b
&mut B
label
impl AsRef<[u8]>
f
impl FnOnce(&mut B)