Browse Source

rustfmt

master
Jonathan Strong 2 years ago
parent
commit
1898104124
  1. 6
      src/main.rs

6
src/main.rs

@ -92,11 +92,7 @@ pub struct HttpConfig {
/// Download all .crate files from a registry server. /// Download all .crate files from a registry server.
#[derive(Deserialize, Parser)] #[derive(Deserialize, Parser)]
#[serde(rename_all = "kebab-case")] #[serde(rename_all = "kebab-case")]
#[clap( #[clap(author, version, global_setting(clap::AppSettings::DeriveDisplayOrder))]
author,
version,
global_setting(clap::AppSettings::DeriveDisplayOrder)
)]
pub struct Config { pub struct Config {
/// URL of the registry index we are downloading .crate files from. The /// URL of the registry index we are downloading .crate files from. The
/// program expects that it will be able to clone the index to a local /// program expects that it will be able to clone the index to a local

Loading…
Cancel
Save