diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-04-01 18:38:19 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-04-01 18:38:19 -0700 |
| commit | d49b67e255db86a5df952b33f4140150fc12bf4d (patch) | |
| tree | f1f6284c449bd17747d0ccbf74f15994bce52dd2 /src/libstd/sync/mpsc/shared.rs | |
| parent | f92e7abefd0231f80d16062e5ff6aaf8cc3bc861 (diff) | |
| parent | 0f6b43aa8f288d3d12adc8747fb5060956d7f0e5 (diff) | |
| download | rust-d49b67e255db86a5df952b33f4140150fc12bf4d.tar.gz rust-d49b67e255db86a5df952b33f4140150fc12bf4d.zip | |
rollup merge of #23176: huonw/rm-bounds
Diffstat (limited to 'src/libstd/sync/mpsc/shared.rs')
| -rw-r--r-- | src/libstd/sync/mpsc/shared.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sync/mpsc/shared.rs b/src/libstd/sync/mpsc/shared.rs index 80cbd076163..be973028577 100644 --- a/src/libstd/sync/mpsc/shared.rs +++ b/src/libstd/sync/mpsc/shared.rs @@ -64,7 +64,7 @@ pub enum Failure { Disconnected, } -impl<T: Send> Packet<T> { +impl<T> Packet<T> { // Creation of a packet *must* be followed by a call to postinit_lock // and later by inherit_blocker pub fn new() -> Packet<T> { @@ -474,7 +474,7 @@ impl<T: Send> Packet<T> { } #[unsafe_destructor] -impl<T: Send> Drop for Packet<T> { +impl<T> Drop for Packet<T> { fn drop(&mut self) { // Note that this load is not only an assert for correctness about // disconnection, but also a proper fence before the read of |
