diff options
Diffstat (limited to 'crates/shirabe/src/util/forgejo_url.rs')
| -rw-r--r-- | crates/shirabe/src/util/forgejo_url.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/shirabe/src/util/forgejo_url.rs b/crates/shirabe/src/util/forgejo_url.rs index d2628409..7a5d2b10 100644 --- a/crates/shirabe/src/util/forgejo_url.rs +++ b/crates/shirabe/src/util/forgejo_url.rs @@ -37,8 +37,7 @@ impl ForgejoUrl { pub fn try_from(repo_url: Option<&str>) -> Option<Self> { let repo_url = repo_url?; - let mut matches: indexmap::IndexMap<shirabe_pcre::CaptureKey, String> = - indexmap::IndexMap::new(); + let mut matches = shirabe_pcre::PregMatchedGroups::new(); if !Preg::match3(Self::URL_REGEX, repo_url, Some(&mut matches)) { return None; } |
