Skip to content

Commit 4737dbb

Browse files
Update src/utils/vcs.rs
Co-authored-by: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com>
1 parent 5f34156 commit 4737dbb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/vcs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ impl VcsUrl {
207207
}
208208
}
209209

210-
fn extract_provider_name(host: &str) -> String {
210+
fn extract_provider_name(host: &str) -> &str {
211211
let trimmed = host.trim_end_matches('.');
212212
let mut iter = trimmed.rsplit('.');
213213
iter.next(); // skip TLD

0 commit comments

Comments
 (0)