mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 08:23:17 +00:00
The `'static` bound is currently necessary because there's no restriction on the lifetime of the GAT. Add a `Self: 'a` bound to restrict possible lifetimes on `Borrowed` and `BorrowedMut`, and lift the `'static` requirement. Reviewed-by: Alexandre Courbot <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Gary Guo <[email protected]> Acked-by: Miguel Ojeda <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Danilo Krummrich <[email protected]>