Skip to main content

find_target_contract

Function find_target_contract 

Source
fn find_target_contract(
    hir: &Hir<'_>,
    target_path: &Path,
    target_name: Option<&str>,
) -> Result<ContractId>
Expand description

Returns the single contract named target_name, or the only contract, in target_path.