Skip to content

Commit 1d6074c

Browse files
committed
lint fix
1 parent f33db55 commit 1d6074c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v3/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ impl Sender {
273273
/// Configure the necessary headers to send an API request.
274274
pub fn get_headers(api_key: &str) -> Result<HeaderMap, InvalidHeaderValue> {
275275
let mut headers = HeaderMap::with_capacity(3);
276-
let mut auth_value = HeaderValue::from_str(&format!("Bearer {}", api_key))?;
276+
let mut auth_value = HeaderValue::from_str(&format!("Bearer {api_key}"))?;
277277
auth_value.set_sensitive(true);
278278
headers.insert(header::AUTHORIZATION, auth_value);
279279
headers.insert(

0 commit comments

Comments
 (0)