forked from ROMEO/nexosim
Fix comments
This commit is contained in:
parent
af3d68e76f
commit
2fa159a87f
@ -287,12 +287,12 @@ where
|
|||||||
/// `Waker::will_wake` as the latter tests the pointers to the virtual tables
|
/// `Waker::will_wake` as the latter tests the pointers to the virtual tables
|
||||||
/// for equality.
|
/// for equality.
|
||||||
///
|
///
|
||||||
/// Forcing the function to be inlined appears to solve this problem, but we may
|
/// Preventing the function from being inlined appears to solve this problem,
|
||||||
/// want to investigate more robust methods. Tokio has [switched][1] to a single
|
/// but we may want to investigate more robust methods. For unrelated reasons,
|
||||||
/// non-generic virtual table declared as `static`, which then delegates each
|
/// Tokio has switched [1] to a single non-generic virtual table declared as
|
||||||
/// call with another virtual call. This does ensure that `Waker::will_wake`
|
/// `static` which then delegates each call to another virtual call. This does
|
||||||
/// will always work, but the double indirection is a bit unfortunate and its
|
/// ensure that `Waker::will_wake` will always work, but the double indirection
|
||||||
/// cost would need to be evaluated.
|
/// is a bit unfortunate and its cost would need to be evaluated.
|
||||||
///
|
///
|
||||||
/// [1]: https://github.com/tokio-rs/tokio/pull/5213
|
/// [1]: https://github.com/tokio-rs/tokio/pull/5213
|
||||||
#[inline(never)]
|
#[inline(never)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user