File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -321,7 +321,7 @@ impl<T: Send + Sync + Clone> Arc<T> {
321
321
322
322
#[ unsafe_destructor]
323
323
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
324
- impl < T : Sync + Send > Drop for Arc < T > {
324
+ impl < T > Drop for Arc < T > {
325
325
/// Drops the `Arc<T>`.
326
326
///
327
327
/// This will decrement the strong reference count. If the strong reference
@@ -388,7 +388,7 @@ impl<T: Sync + Send> Drop for Arc<T> {
388
388
389
389
#[ unstable( feature = "alloc" ,
390
390
reason = "Weak pointers may not belong in this module." ) ]
391
- impl < T : Sync + Send > Weak < T > {
391
+ impl < T > Weak < T > {
392
392
/// Upgrades a weak reference to a strong reference.
393
393
///
394
394
/// Upgrades the `Weak<T>` reference to an `Arc<T>`, if possible.
@@ -454,7 +454,7 @@ impl<T: Sync + Send> Clone for Weak<T> {
454
454
455
455
#[ unsafe_destructor]
456
456
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
457
- impl < T : Sync + Send > Drop for Weak < T > {
457
+ impl < T > Drop for Weak < T > {
458
458
/// Drops the `Weak<T>`.
459
459
///
460
460
/// This will decrement the weak reference count.
You can’t perform that action at this time.
0 commit comments