Skip to content

Commit eb72511

Browse files
committed
f typo
1 parent 31637a3 commit eb72511

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning-net-tokio/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ const SOCK_WAKER_VTABLE: task::RawWakerVTable =
424424
fn clone_socket_waker(orig_ptr: *const ()) -> task::RawWaker {
425425
let new_waker = unsafe { Arc::from_raw(orig_ptr as *const mpsc::Sender<()>) };
426426
let res = write_avail_to_waker(&new_waker);
427-
// Don't decrement the refound on new_waker:
427+
// Don't decrement the refcount when dropping new_waker by turning it back `into_raw`.
428428
let _ = Arc::into_raw(new_waker);
429429
res
430430
}

0 commit comments

Comments
 (0)