///
/// Updates the `root_node` of the tree by merging the generic tree into the specific tree. This
/// is necessary after adding any routes to ensure that the matching functions of the tree are
/// up to date.
///
Updates the `root_node` of the tree by merging the generic tree into the specific tree. This
is necessary after adding any routes to ensure that the matching functions of the tree are
up to date.
Updates the ` root_node ` of the tree by merging the generic tree into the specific tree . This is necessary after adding any routes to ensure that the matching functions of the tree are up to date .
pub fn update_root_node(&mut self) {
    let mut root_node = self.specific_root_node.clone();
    root_node.push_middleware_to_populated_nodes(&self.generic_root_node, &MiddlewareChain::new());
    self.root_node = root_node;
  }
pub fn update_root_node ( & mut self ) { let mut root_node = self . specific_root_node . clone ( ) ; root_node . push_middleware_to_populated_nodes ( & self . generic_root_node , & MiddlewareChain :: new ( ) ) ; self . root_node = root_node ; }
Updates the `root_node` of the tree by merging the generic tree into the specific tree.
Updates the ` root_node ` of the tree by merging the generic tree into the specific tree .
&mut self