pub fn run(contract_path: PathBuf) -> Result<Vec<Contract>> {
    let contract = Contract::from_cli(&contract_path)?;
    let mut contracts: Vec<Contract> = vec![];
    let mut visits: Vec<Visit> = Vec::new();
    collect_contracts(contract, &mut contracts, &mut visits)?;
    Ok(contracts)
}
/// Entry point to the crate.
Entry point to the crate.
Entry point to the crate .
pub fn run(contract_path: PathBuf) -> Result<Vec<Contract>> {
    let contract = Contract::from_cli(&contract_path)?;
    let mut contracts: Vec<Contract> = vec![];
    let mut visits: Vec<Visit> = Vec::new();
    collect_contracts(contract, &mut contracts, &mut visits)?;
    Ok(contracts)
}
pub fn run ( contract_path : PathBuf ) -> Result < Vec < Contract > > { let contract = Contract :: from_cli ( & contract_path ) ? ; let mut contracts : Vec < Contract > = vec ! [ ] ; let mut visits : Vec < Visit > = Vec :: new ( ) ; collect_contracts ( contract , & mut contracts , & mut visits ) ? ; Ok ( contracts ) }
Entry point to the crate.
Entry point to the crate .
contract_path
PathBuf
contract_path
PathBuf