Skip to content

refactor(uri): consolidate PathAndQuery::from_shared and from_static#825

Open
seanmonstar wants to merge 1 commit intomasterfrom
sean/rsskqlwttklz
Open

refactor(uri): consolidate PathAndQuery::from_shared and from_static#825
seanmonstar wants to merge 1 commit intomasterfrom
sean/rsskqlwttklz

Conversation

@seanmonstar
Copy link
Member

Previously, the constructors had their logic nearly duplicated, one to fit the const fn context, with minor differences. This change consolidates it back into a single const fn, with the non-const parts separated out, so that the parsing logic does not drift unintentionally.

Previously, the constructors had their logic nearly duplicated, one to fit the
const fn context, with minor differences. This change consolidates it back
into a single const fn, with the non-const parts separated out, so that the
parsing logic does not drift unintentionally.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant