aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/util/forgejo_url.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/util/forgejo_url.rs')
-rw-r--r--crates/shirabe/src/util/forgejo_url.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe/src/util/forgejo_url.rs b/crates/shirabe/src/util/forgejo_url.rs
index e5304f5d..7f9333e0 100644
--- a/crates/shirabe/src/util/forgejo_url.rs
+++ b/crates/shirabe/src/util/forgejo_url.rs
@@ -43,8 +43,8 @@ impl ForgejoUrl {
.map(|i| {
matches
.get(&CaptureKey::ByIndex(i))
- .cloned()
.unwrap_or_default()
+ .to_string()
})
.collect();