mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
remove no-op 'let _ = '
This commit is contained in:
parent
fd02567705
commit
c823dfa8b2
@ -629,9 +629,7 @@ impl<T> Clone for Sender<T> {
|
||||
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
impl<T> Drop for Sender<T> {
|
||||
fn drop(&mut self) {
|
||||
let _ = self.inner;
|
||||
}
|
||||
fn drop(&mut self) {}
|
||||
}
|
||||
|
||||
#[stable(feature = "mpsc_debug", since = "1.8.0")]
|
||||
@ -751,9 +749,7 @@ impl<T> Clone for SyncSender<T> {
|
||||
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
impl<T> Drop for SyncSender<T> {
|
||||
fn drop(&mut self) {
|
||||
let _ = self.inner;
|
||||
}
|
||||
fn drop(&mut self) {}
|
||||
}
|
||||
|
||||
#[stable(feature = "mpsc_debug", since = "1.8.0")]
|
||||
@ -1094,9 +1090,7 @@ impl<T> IntoIterator for Receiver<T> {
|
||||
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
impl<T> Drop for Receiver<T> {
|
||||
fn drop(&mut self) {
|
||||
let _ = self.inner;
|
||||
}
|
||||
fn drop(&mut self) {}
|
||||
}
|
||||
|
||||
#[stable(feature = "mpsc_debug", since = "1.8.0")]
|
||||
|
Loading…
Reference in New Issue
Block a user