aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/repository/vcs/gitlab_driver.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/repository/vcs/gitlab_driver.rs')
-rw-r--r--crates/shirabe/src/repository/vcs/gitlab_driver.rs10
1 files changed, 3 insertions, 7 deletions
diff --git a/crates/shirabe/src/repository/vcs/gitlab_driver.rs b/crates/shirabe/src/repository/vcs/gitlab_driver.rs
index e0fb72e..f1f361e 100644
--- a/crates/shirabe/src/repository/vcs/gitlab_driver.rs
+++ b/crates/shirabe/src/repository/vcs/gitlab_driver.rs
@@ -88,7 +88,7 @@ impl GitLabDriver {
return Err(InvalidArgumentException {
message: format!(
"The GitLab repository URL {} is invalid. It must be the HTTP URL of a GitLab project.",
- PhpMixed::String(self.inner.url.clone()),
+ self.inner.url.clone(),
),
code: 0,
}
@@ -357,11 +357,7 @@ impl GitLabDriver {
}) {
support.insert(
"source".to_string(),
- PhpMixed::String(format!(
- "{}/-/tree/{}",
- PhpMixed::String(web_url),
- PhpMixed::String(label_str),
- )),
+ PhpMixed::String(format!("{}/-/tree/{}", web_url, label_str)),
);
}
}
@@ -388,7 +384,7 @@ impl GitLabDriver {
}) {
support.insert(
"issues".to_string(),
- PhpMixed::String(format!("{}/-/issues", PhpMixed::String(web_url),)),
+ PhpMixed::String(format!("{}/-/issues", PhpMixed::String(web_url))),
);
}
}