(&mut self)
| 117 | |
| 118 | impl<T> Drop for Sender<T> { |
| 119 | fn drop(&mut self) { |
| 120 | { |
| 121 | // brace drops guard |
| 122 | let mut guard = self.inner.lock().unwrap(); |
| 123 | guard.sender_dropped = true; |
| 124 | } |
| 125 | self.notifier.notify_one(); |
| 126 | } |
| 127 | } |
| 128 | |
| 129 | /// The receiver half of a ring buffer SPSC |
nothing calls this directly
no outgoing calls
no test coverage detected