From 34f559262ed44f1f1f9f071cf81f6d72565b2755 Mon Sep 17 00:00:00 2001 From: tsfotis Date: Sat, 14 Sep 2024 15:53:14 +0300 Subject: [PATCH] fix: misspelling (#143) --- src/git.rs | 2 +- src/metadata.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/git.rs b/src/git.rs index 7c9ed9d..a26d23a 100644 --- a/src/git.rs +++ b/src/git.rs @@ -45,7 +45,7 @@ pub fn get_source( bail!("git repo {url} does not expose any crates") } [_, _, ..] => { - bail!("multiple candiate packages found in git repo {url}") + bail!("multiple candidate packages found in git repo {url}") } [ref package] => Ok(package.root().to_path_buf()), } diff --git a/src/metadata.rs b/src/metadata.rs index f7ff66d..efb3302 100644 --- a/src/metadata.rs +++ b/src/metadata.rs @@ -27,7 +27,7 @@ pub fn crate_details( bail!("no package found in directory \"{project_dir:?}\"") } [_, _, ..] => { - bail!("multiple candiate packages found in directory \"{project_dir:?}\"") + bail!("multiple candidate packages found in directory \"{project_dir:?}\"") } [package] => package, };