File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
library/std/src/sync/mpsc Expand file tree Collapse file tree 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> {
629629
630630#[ stable( feature = "rust1" , since = "1.0.0" ) ]
631631impl < T > Drop for Sender < T > {
632- fn drop ( & mut self ) {
633- let _ = self . inner ;
634- }
632+ fn drop ( & mut self ) { }
635633}
636634
637635#[ stable( feature = "mpsc_debug" , since = "1.8.0" ) ]
@@ -751,9 +749,7 @@ impl<T> Clone for SyncSender<T> {
751749
752750#[ stable( feature = "rust1" , since = "1.0.0" ) ]
753751impl < T > Drop for SyncSender < T > {
754- fn drop ( & mut self ) {
755- let _ = self . inner ;
756- }
752+ fn drop ( & mut self ) { }
757753}
758754
759755#[ stable( feature = "mpsc_debug" , since = "1.8.0" ) ]
@@ -1094,9 +1090,7 @@ impl<T> IntoIterator for Receiver<T> {
10941090
10951091#[ stable( feature = "rust1" , since = "1.0.0" ) ]
10961092impl < T > Drop for Receiver < T > {
1097- fn drop ( & mut self ) {
1098- let _ = self . inner ;
1099- }
1093+ fn drop ( & mut self ) { }
11001094}
11011095
11021096#[ stable( feature = "mpsc_debug" , since = "1.8.0" ) ]
You can’t perform that action at this time.
0 commit comments