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

Document UInt return type of hash(x) #40707

Merged
merged 1 commit into from
May 4, 2021
Merged

Conversation

fonsp
Copy link
Member

@fonsp fonsp commented May 4, 2021

Continuation of #40669 .

This will help people in correctly implementing a hash method, and in cases where you are storing a hash inside a struct:

struct Foo
	x
	x_hash::UInt   # not UInt64
end

@fredrikekre fredrikekre merged commit 24d9eab into JuliaLang:master May 4, 2021
antoine-levitt pushed a commit to antoine-levitt/julia that referenced this pull request May 9, 2021
dghosef pushed a commit to dghosef/julia that referenced this pull request May 11, 2021
johanmon pushed a commit to johanmon/julia that referenced this pull request Jul 5, 2021
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.

3 participants