From 4102a5e4ddb05be82a280c544d1838d0b9f65046 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 3 Sep 2024 21:58:39 +0200 Subject: [PATCH] Fix clippy --- src/changes.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/changes.rs b/src/changes.rs index a61c937..8c86560 100644 --- a/src/changes.rs +++ b/src/changes.rs @@ -230,8 +230,8 @@ mod tests { #[tokio::test] async fn analyze_commit_approved() { - let mut remote = get_mock_remote(); - let remote_client = (&mut remote.client).as_ref().unwrap(); + let remote = get_mock_remote(); + let remote_client = remote.client.as_ref().unwrap(); remote_client .associated_prs @@ -284,8 +284,8 @@ mod tests { #[tokio::test] async fn analyze_commit_none() { - let mut remote = get_mock_remote(); - let remote_client = (&mut remote.client).as_ref().unwrap(); + let remote = get_mock_remote(); + let remote_client = remote.client.as_ref().unwrap(); remote_client .associated_prs