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

"Struct as mapping key" chapter is no longer relevant #87

Closed
enitrat opened this issue Oct 3, 2023 · 1 comment · Fixed by #89
Closed

"Struct as mapping key" chapter is no longer relevant #87

enitrat opened this issue Oct 3, 2023 · 1 comment · Fixed by #89

Comments

@enitrat
Copy link
Collaborator

enitrat commented Oct 3, 2023

Or, at least, can be heavily simplified - we can now just #[derive(Hash)] on the struct and it can be used as a mapping key

@julio4
Copy link
Member

julio4 commented Oct 4, 2023

Thanks for pointing this. It is indeed no longer relevant...

julio4 added a commit to julio4/StarknetByExample that referenced this issue Oct 5, 2023
julio4 added a commit to julio4/StarknetByExample that referenced this issue Oct 5, 2023
@julio4 julio4 mentioned this issue Oct 5, 2023
3 tasks
@julio4 julio4 closed this as completed in #89 Oct 5, 2023
julio4 added a commit that referenced this issue Oct 5, 2023
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 a pull request may close this issue.

2 participants