Function rustfmt_nightly::config::resolve_project_file
source · fn resolve_project_file(dir: &Path) -> Result<Option<PathBuf>, Error>Expand description
Try to find a project file in the given directory and its parents.
Returns the path of a the nearest project file if one exists,
or None if no project file was found.