Skip to content
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

Re-export AHashMap and give it a trait extension #479

Merged
merged 2 commits into from
Nov 12, 2024

Conversation

Dekkonot
Copy link
Member

We expose AHashMap via WeakDom::into_raw so we should probably re-export it same as UstrMap. If we do that it makes sense to also implement the helper trait for it.

Also, we should use the actual AHashMap type rather than the HashMap alias because it impacts how it's surfaced in the type signature. Better to show explicitly that we're using AHashMap for this than have it silently disappear because the type is HashMap.

This came up while I was porting Rojo to use the new changes for Uplift, so I may end up with more pull requests if other UX issues come up.

@Dekkonot Dekkonot merged commit a0371d5 into rojo-rbx:master Nov 12, 2024
3 checks passed
@Dekkonot Dekkonot deleted the re-export-ahashmap branch November 12, 2024 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants