remove duplicate word
This commit is contained in:
parent
f65d04a109
commit
533b760f8d
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user