File tree 1 file changed +3
-9
lines changed
library/std/src/sync/mpsc
1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -629,9 +629,7 @@ impl<T> Clone for Sender<T> {
629
629
630
630
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
631
631
impl < T > Drop for Sender < T > {
632
- fn drop ( & mut self ) {
633
- let _ = self . inner ;
634
- }
632
+ fn drop ( & mut self ) { }
635
633
}
636
634
637
635
#[ stable( feature = "mpsc_debug" , since = "1.8.0" ) ]
@@ -751,9 +749,7 @@ impl<T> Clone for SyncSender<T> {
751
749
752
750
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
753
751
impl < T > Drop for SyncSender < T > {
754
- fn drop ( & mut self ) {
755
- let _ = self . inner ;
756
- }
752
+ fn drop ( & mut self ) { }
757
753
}
758
754
759
755
#[ stable( feature = "mpsc_debug" , since = "1.8.0" ) ]
@@ -1094,9 +1090,7 @@ impl<T> IntoIterator for Receiver<T> {
1094
1090
1095
1091
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1096
1092
impl < T > Drop for Receiver < T > {
1097
- fn drop ( & mut self ) {
1098
- let _ = self . inner ;
1099
- }
1093
+ fn drop ( & mut self ) { }
1100
1094
}
1101
1095
1102
1096
#[ stable( feature = "mpsc_debug" , since = "1.8.0" ) ]
You can’t perform that action at this time.
0 commit comments