Skip to main content

finalize_delegate

Function finalize_delegate 

Source
fn finalize_delegate(
    make: &SyntaxFactory,
    delegate: &Impl,
    assoc_items: Option<Vec<AssocItem>>,
    remove_where_clauses: bool,
) -> Option<Impl>
Expand description

Finalize the delegate impl by:

  1. Replacing the assoc_item_list with new items (if any)
  2. Removing useless where clauses