remove duplicate word

This commit is contained in:
hattizai 2024-07-02 11:21:05 +08:00 committed by Yacin Tmimi
parent f65d04a109
commit 533b760f8d

View File

@ -256,7 +256,7 @@ pub(super) fn from_toml_path(file_path: &Path) -> Result<Config, Error> {
/// one.
pub(super) fn from_resolved_toml_path(dir: &Path) -> Result<(Config, Option<PathBuf>), Error> {
/// 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,
/// Returns the path of the nearest project file if one exists,
/// or `None` if no project file was found.
fn resolve_project_file(dir: &Path) -> Result<Option<PathBuf>, Error> {
let mut current = if dir.is_relative() {