From 0d4924bb3aca5ce9e4015ffc601b9d28f0e137b3 Mon Sep 17 00:00:00 2001 From: Jonathan Strong Date: Thu, 8 Sep 2022 22:43:59 -0400 Subject: [PATCH] tweak name of unused const just why --- src/main.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 42f2946..2ba9e69 100644 --- a/src/main.rs +++ b/src/main.rs @@ -134,10 +134,7 @@ pub struct Config { const DEFAULT_OUTPUT_PATH: &str = "output"; const DEFAULT_USER_AGENT: &str = concat!("registry-backup/v", clap::crate_version!()); -// const DEFAULT_INDEX: &str = "https://github.com/rust-lang/crates.io-index.git"; -// fn default_index() -> String { -// DEFAULT_INDEX.to_string() -// } +//const CRATESIO_INDEX: &str = "https://github.com/rust-lang/crates.io-index.git"; fn default_output_path() -> PathBuf { PathBuf::from(DEFAULT_OUTPUT_PATH)