From ce45c6cfcb2c32b4bade7e384d5256c341c02815 Mon Sep 17 00:00:00 2001 From: Markus Klein Date: Tue, 25 Jun 2024 14:33:18 +0200 Subject: [PATCH] style: lint unecessary dereference --- tests/integration.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration.rs b/tests/integration.rs index 7708f7a..3936a4e 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -43,7 +43,7 @@ async fn completion_with_different_aa_api_token() { let task = TaskCompletion::from_text("Hello", 1); let model = "luminous-base"; - let client = Client::new(&bad_aa_api_token).unwrap(); + let client = Client::new(bad_aa_api_token).unwrap(); let response = client .output_of( &task.with_model(model),