Closed Storyyeller closed 7 years ago
Why does OwningHandle::new take Fn? As far as I can tell, it should only require FnOnce. Not that it matters much in this case, but it's nice to be as flexible as possible.
Hi, I'm sincerely sorry for taking so long to respond.
Good point though, I think that just slipped by in the original PR. Fixing it right now.
Why does OwningHandle::new take Fn? As far as I can tell, it should only require FnOnce. Not that it matters much in this case, but it's nice to be as flexible as possible.