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/liballoc | |
| 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/liballoc')
| -rw-r--r-- | src/liballoc/arc.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs index f87c450eda5..8b884c56505 100644 --- a/src/liballoc/arc.rs +++ b/src/liballoc/arc.rs @@ -321,7 +321,7 @@ impl<T> Deref for Arc<T> { } } -impl<T: Send + Sync + Clone> Arc<T> { +impl<T: Clone> Arc<T> { /// Make a mutable reference from the given `Arc<T>`. /// /// This is also referred to as a copy-on-write operation because the inner @@ -465,7 +465,7 @@ impl<T> Weak<T> { #[unstable(feature = "alloc", reason = "Weak pointers may not belong in this module.")] -impl<T: Sync + Send> Clone for Weak<T> { +impl<T> Clone for Weak<T> { /// Makes a clone of the `Weak<T>`. /// /// This increases the weak reference count. |
