Skip to content

Commit 71d2f48

Browse files
committed
make loom happy
1 parent 605315a commit 71d2f48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tokio/src/sync/oneshot.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,7 @@ impl<T> Sender<T> {
651651

652652
#[cfg(loom)]
653653
{
654+
drop(inner);
654655
// The `loom::sync::Arc` does not implement `into_inner` yet.
655656
Ok(())
656657
}

0 commit comments

Comments
 (0)