Skip to content

macros: Keep the ability for ascii_case_insensitive_phf_map to reference custom types. #354

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 2, 2023

Conversation

emilio
Copy link
Member

@emilio emilio commented Aug 2, 2023

No description provided.

@emilio
Copy link
Member Author

emilio commented Aug 2, 2023

r? @tiaanl

Without this there's no way of making this build.

MAP.entries()
}

pub fn get(input: &str) -> Option<&'static $ValueType> {
$crate::_cssparser_internal_to_lowercase!(input, MAX_LENGTH => lowercase);
fn get(input: &str) -> Option<&'static $ValueType> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why are these not pub any more?

Copy link
Member Author

Choose a reason for hiding this comment

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

Because they wasn't earlier effectively, as the containing module was private.

@emilio emilio added this pull request to the merge queue Aug 2, 2023
Merged via the queue into master with commit 0dd3140 Aug 2, 2023
@emilio emilio deleted the fixup-phf branch August 2, 2023 21:13
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.

2 participants