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

Implemented hash_receiver method on mpsc #1962

Merged
merged 1 commit into from Nov 22, 2019

Commits on Nov 7, 2019

  1. Implemented hash_receiver method on mpsc

    This method allows the sender to obtain the hash of the receiver
    (actually `Option<pointer to shared structure>`). This is useful if one
    wants to put the senders into `HashSet` or `HashMap`, using a newtype
    pattern.
    
    Closes rust-lang#1177
    Kixunil committed Nov 7, 2019
    Copy the full SHA
    e8e2ac5 View commit details
    Browse the repository at this point in the history