From c5a2a8936133ddfff72a4c263e0431f86ef342ef Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Tue, 21 Jun 2022 13:52:27 +1000 Subject: [PATCH] Rm the duplicate `debug!` in `main.rs:214` Signed-off-by: Jiahao XU --- src/main.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index f9136157..0d8748cc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -211,10 +211,7 @@ async fn entry() -> Result<()> { // TODO: work out which of these to do based on `opts.name` // TODO: support git-based fetches (whole repo name rather than just crate name) let manifest = match opts.manifest_path.clone() { - Some(manifest_path) => { - debug!("Reading manifest: {}", manifest_path.display()); - load_manifest_path(manifest_path.join("Cargo.toml"))? - } + Some(manifest_path) => load_manifest_path(manifest_path.join("Cargo.toml"))?, None => fetch_crate_cratesio(&opts.name, &opts.version).await?, };