Created
August 2, 2012 22:10
-
-
Save eholk/3241157 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fn recv() -> T { | |
| match move self.try_recv() { | |
| some(x) { move x } | |
| none { fail ~"port_set: endpoints closed" } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment