diff --git a/src/async_client.rs b/src/async_client.rs index 9de20c3..e2583f1 100644 --- a/src/async_client.rs +++ b/src/async_client.rs @@ -27,7 +27,7 @@ impl AsyncClient { /// Create a new async client. pub fn new(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.