Skip to content

Commit 648b39e

Browse files
author
t11s
authored
Run code through rustfmt
1 parent 290db51 commit 648b39e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cargo/ops/registry.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ pub fn configure_http_handle(config: &Config, handle: &mut Easy) -> CargoResult<
434434
if let Some(check) = http.check_revoke {
435435
handle.ssl_options(SslOpt::new().no_revoke(!check))?;
436436
}
437-
437+
438438
if let Some(user_agent) = &http.user_agent {
439439
handle.useragent(user_agent)?;
440440
} else {
@@ -599,7 +599,7 @@ pub fn registry_login(
599599
.read_line(&mut line)
600600
.chain_err(|| "failed to read stdin")
601601
.map_err(failure::Error::from)?;
602-
// Automatically remove `cargo login` from an inputted token to allow direct pastes from `registry.host()`/me.
602+
// Automatically remove `cargo login` from an inputted token to allow direct pastes from `registry.host()`/me.
603603
line.replace("cargo login", "").trim().to_string()
604604
}
605605
};

0 commit comments

Comments
 (0)