Skip to content

Commit

Permalink
simplify type annotation
Browse files Browse the repository at this point in the history
Co-authored-by: Alice Ryhl <[email protected]>
  • Loading branch information
mox692 and Darksonn authored Jan 13, 2025
1 parent ad049ba commit f6e57d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/src/sync/mpsc/chan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ impl<T, S: Semaphore> Drop for Rx<T, S> {
let rx_fields = unsafe { &mut *rx_fields_ptr };
struct Guard<'a, T, S: Semaphore> {
list: &'a mut list::Rx<T>,
tx: &'a CachePadded<crate::sync::mpsc::list::Tx<T>>,
tx: &'a list::Tx<T>,
sem: &'a S,
}

Expand Down

0 comments on commit f6e57d3

Please sign in to comment.