Skip to content

Comments

Return Cow from UrlString::with_ methods#14319

Merged
charliermarsh merged 2 commits intomainfrom
jtfm/with_cows
Jun 27, 2025
Merged

Return Cow from UrlString::with_ methods#14319
charliermarsh merged 2 commits intomainfrom
jtfm/with_cows

Conversation

@jtfmumm
Copy link
Contributor

@jtfmumm jtfmumm commented Jun 27, 2025

A minor performance improvement as a follow-up to #14245 (and an accompanying test).

@jtfmumm jtfmumm added the internal A refactor or improvement that is not user-facing label Jun 27, 2025
);
}

let url = UrlString("https://example.com/path#fragment".into());
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These base_str() checks were repeated from another test and shouldn't have been here

@jtfmumm jtfmumm requested a review from charliermarsh June 27, 2025 16:02
@jtfmumm jtfmumm temporarily deployed to uv-test-registries June 27, 2025 16:03 — with GitHub Actions Inactive
@jtfmumm jtfmumm temporarily deployed to uv-test-registries June 27, 2025 16:08 — with GitHub Actions Inactive
@jtfmumm jtfmumm temporarily deployed to uv-test-registries June 27, 2025 17:23 — with GitHub Actions Inactive
@charliermarsh charliermarsh merged commit f892b85 into main Jun 27, 2025
88 checks passed
@charliermarsh charliermarsh deleted the jtfm/with_cows branch June 27, 2025 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal A refactor or improvement that is not user-facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants