pub(crate) fn resolve_dependency(source_path: &Path, dep: &SourceDependency) -> Fallible<PathBuf> {
    match dep {
        SourceDependency::Mod(module_name) => find_module(source_path, &module_name),
    }
}
/// Given the path to a source file and a previously-discovered dependency, attempts to resolve
/// that dependency to an existing source file.
Given the path to a source file and a previously-discovered dependency, attempts to resolve
that dependency to an existing source file.
Given the path to a source file and a previously - discovered dependency attempts to resolve that dependency to an existing source file .
pub(crate) fn resolve_dependency(source_path: &Path, dep: &SourceDependency) -> Fallible<PathBuf> {
    match dep {
        SourceDependency::Mod(module_name) => find_module(source_path, &module_name),
    }
}
pub ( crate ) fn resolve_dependency ( source_path : & Path , dep : & SourceDependency ) -> Fallible < PathBuf > { match dep { SourceDependency :: Mod ( module_name ) => find_module ( source_path , & module_name ) , } }
Given the path to a source file and a previously-discovered dependency, attempts to resolve
that dependency to an existing source file.
Given the path to a source file and a previously - discovered dependency attempts to resolve that dependency to an existing source file .
source_path
&Path
dep
&SourceDependency
source_path
&Path
dep
&SourceDependency