We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Debug
oneshot
1 parent be27d72 commit 769632cCopy full SHA for 769632c
futures-channel/src/oneshot.rs
@@ -390,7 +390,7 @@ impl<T> Drop for Sender<T> {
390
}
391
392
393
-impl<T: fmt::Debug> fmt::Debug for Sender<T> {
+impl<T> fmt::Debug for Sender<T> {
394
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
395
f.debug_struct("Sender").field("complete", &self.inner.complete).finish()
396
@@ -481,7 +481,7 @@ impl<T> Drop for Receiver<T> {
481
482
483
484
-impl<T: fmt::Debug> fmt::Debug for Receiver<T> {
+impl<T> fmt::Debug for Receiver<T> {
485
486
f.debug_struct("Receiver").field("complete", &self.inner.complete).finish()
487
0 commit comments