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

Add Clone to RecvError types #4560

Merged
merged 1 commit into from Apr 6, 2022
Merged

Commits on Mar 10, 2022

  1. Add Clone to RecvError types

    So `Result<T, RecvError>` is `Clone`, so `Receiver<T>` can be placed
    in `Shared<...>`.
    
    Note `mpsc::TryRecvError` is already `Clone`.
    
    Note `mpsc::TryRecvError` is also `Copy`, but this PR only adds
    `Clone`, because it is future proof.
    stepancheg committed Mar 10, 2022
    Copy the full SHA
    5d65103 View commit details
    Browse the repository at this point in the history