Manishearth/triomphe

`T: 'static` bound on `ArcBorrow::with_arc` probably unnecessarily restrictive

steffahn opened this issue · 1 comments

I feel like the bound might be unnecessary and thus overly restrictive. I'm writing this down as an issue first to allow others to look at this, too, (or for myself to take a second look) before contributing a change (removing the T: 'static line here).

pub fn with_arc<F, U>(&self, f: F) -> U
where
F: FnOnce(&Arc<T>) -> U,
T: 'static,

Yeah it's probably unnecessary

I believe that was an "I don't need this now and I don't need to think about this now" choice