Skip to content

Commit

Permalink
fix: lint by clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
caojen committed Feb 3, 2024
1 parent 8063d4e commit a36f439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/async_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ impl AsyncClient {
/// Create a new async client.
pub fn new<S: ToString>(client_id: S) -> Self {
let client_id = client_id.to_string();
Self::new_with_vec(&[client_id])
Self::new_with_vec([client_id])
}

/// Create a new async client, with multiple client ids.
Expand Down

0 comments on commit a36f439

Please sign in to comment.