diff mbox series

jenkins: Fix unnecessary mut warning

Message ID 20190606010432.17004-1-ajd@linux.ibm.com
State Accepted
Headers show
Series jenkins: Fix unnecessary mut warning | expand

Commit Message

Andrew Donnellan June 6, 2019, 1:04 a.m. UTC
Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>

---

already applied

---
 src/jenkins.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/src/jenkins.rs b/src/jenkins.rs
index 8d091c9a5353..3cb4f6f9a17b 100644
--- a/src/jenkins.rs
+++ b/src/jenkins.rs
@@ -118,7 +118,7 @@  impl CIBackend for JenkinsBackend {
             Some(artifact) => {
                 let artifact_url = format!("{}/artifact/{}", build_handle, artifact);
                 match self.get_url(&artifact_url) {
-                    Ok(mut resp) => match resp.status().is_success() {
+                    Ok(resp) => match resp.status().is_success() {
                         true => artifact_url,
                         false => default_url,
                     },