Frank Steffahn
Frank Steffahn
I cannot quite follow what’s the requested feature here. If you’re thinking of `&Foo` to `&Foo` coercions or the like, you’re probably missing the fact that all borrowed fields in...
> * `ScopedJoinHandle` joins and blocks upon `Drop` instead of detaching I don't think this is true. AFAIK, it only blocks upon leaving the `scope` the thread was spawned in.
I think there's a lot of value in having `assert_matches!(...)` be basically just an `assert!(matches!(...))` with better error messages (and hence with an additional `Debug` bound). It makes the macro...
cc @QuineDot since you recently opened #1445, so you might have some ideas or feedback here
While you’re at it improving this example: I think this example should probably also be re-written to use `add_of_mut`. There’s ***nothing*** “safe” about this function as it stands right now,...
Some initial thought for a potential fix: Add some additional (3 states) state enum next to the `Slab` in the to the `Mutex` inside the `wakers` field. Right before calling...
Trying to start an implementation of a fix, I came across a design question where I’m not sure what the best solution should be. If the `poll` method panics, then...
Reduced (but can presumably be reduced further from here): ```rs use futures::{stream, StreamExt}; use std::sync::Arc; use tokio::task::JoinHandle; async fn execution_process(active_authority: &ActiveAuthority) where A: Send + Sync + 'static, { stream::empty::()...
Reducing further, I came across a second similar error message. This is what I’ve got at the moment: ```rs use std::marker::PhantomData; #[rustfmt::skip] pub struct Struct( PhantomData (I, T, F, B)>,...
Here’s a further reduction to the non-closure-involving error ```rs use std::marker::PhantomData; pub struct Struct(PhantomData ::Item>) where Self: It; impl It for Struct where I: It, { type Item = ();...