fn find_package_config(current_path: &Path) -> PathBuf {
    match fm::find_file(current_path, "Nargo", "toml") {
        Some(p) => p,
        None => write_stderr(&format!(
            "cannot find a Nargo.toml in {}",
            current_path.display()
        )),
    }
}
/// Searches for the Nargo.toml file
///
/// XXX: In the end, this should find the root of the project and check
/// for the Nargo.toml file there
/// However, it should only do this after checking the current path
/// This allows the use of workspace settings in the future.
Searches for the Nargo.toml file
XXX: In the end, this should find the root of the project and check
for the Nargo.toml file there
However, it should only do this after checking the current path
This allows the use of workspace settings in the future.
Searches for the Nargo . toml file XXX : In the end this should find the root of the project and check for the Nargo . toml file there However it should only do this after checking the current path This allows the use of workspace settings in the future .
fn find_package_config(current_path: &Path) -> PathBuf {
    match fm::find_file(current_path, "Nargo", "toml") {
        Some(p) => p,
        None => write_stderr(&format!(
            "cannot find a Nargo.toml in {}",
            current_path.display()
        )),
    }
}
fn find_package_config ( current_path : & Path ) -> PathBuf { match fm :: find_file ( current_path , " " , " " ) { Some ( p ) => p , None => write_stderr ( & format ! ( " " current_path display ( ) ) ) , } }
Searches for the Nargo.toml file
XXX: In the end, this should find the root of the project and check
for the Nargo.toml file there
However, it should only do this after checking the current path
This allows the use of workspace settings in the future.
Searches for the Nargo . toml file XXX : In the end this should find the root of the project and check for the Nargo . toml file there However it should only do this after checking the current path This allows the use of workspace settings in the future .
current_path
&Path
current_path
&Path