lightyear_utils/
captures.rs

1//! Captures trick to allow for better impl Iterator + 'a
2//! See `<https://rust-lang.github.io/rfcs/3498-lifetime-capture-rules-2024.html>`
3//! and `<https://www.youtube.com/watch?v=CWiz_RtA1Hw>`
4
5pub trait Captures<U> {}
6impl<T: ?Sized, U> Captures<U> for T {}