]> git.lizzy.rs Git - rust.git/commit
std: Fix a doc example on io::signal
authorAlex Crichton <alex@alexcrichton.com>
Sun, 6 Apr 2014 04:02:35 +0000 (21:02 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Sun, 6 Apr 2014 05:13:32 +0000 (22:13 -0700)
commit137e648eddb53b56cd0d3eba992a975456da44d2
treed892c96d8c5c5f1285ec6f908cee7f7a6563d5dc
parent0651d2790c7024d1b450b6b17e34bc8ffdb51a33
std: Fix a doc example on io::signal

This also makes the listener struct sendable again by explicitly putting the
Send bound on the relevant Rtio object.

cc #13352
src/libstd/io/signal.rs