chore: upgrade to rust 1.81.0 (#26261)

This commit is contained in:
林炳权 2024-10-16 00:10:07 +08:00 committed by GitHub
parent e4b52f5a76
commit 533a9b1086
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 17 additions and 17 deletions

View file

@ -40,7 +40,7 @@ pub fn maybe_auth_header_for_npm_registry(
header::AUTHORIZATION,
header::HeaderValue::from_str(&format!(
"Basic {}",
BASE64_STANDARD.encode(&format!(
BASE64_STANDARD.encode(format!(
"{}:{}",
username.unwrap(),
password.unwrap()