Skip to content

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
@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