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

Make ObjectId Send + Sync #500

Merged
merged 2 commits into from
Mar 1, 2024

Conversation

scottbot95
Copy link
Contributor

As suggested by @asquared31415 in discord, change the PhantomData on ObjectId<T> from PhantomData<T> to PhantomData<fn() -T>. This is more accurate since ObectId doesn't actually own a T, but it can produce a T.

@scottbot95
Copy link
Contributor Author

Nightly lint seems to be failing for the same reason as #499

@shanemadden shanemadden merged commit 7ca38fd into rustyscreeps:main Mar 1, 2024
9 checks passed
@scottbot95 scottbot95 deleted the object-id-send-sync branch March 1, 2024 05:34
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