less verbosity
This commit is contained in:
parent
b82ad70dd5
commit
f6ad1d0fab
1 changed files with 0 additions and 1 deletions
|
@ -280,7 +280,6 @@ impl Stream for CancelOnDropStream {
|
||||||
let res = this.stream.poll_next(cx);
|
let res = this.stream.poll_next(cx);
|
||||||
if matches!(res, Poll::Ready(None)) {
|
if matches!(res, Poll::Ready(None)) {
|
||||||
if let Some(c) = this.cancel.take() {
|
if let Some(c) = this.cancel.take() {
|
||||||
trace!("defusing cancel request {}", c.id);
|
|
||||||
std::mem::forget(c)
|
std::mem::forget(c)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue