mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-06-14 03:14:22 -04:00
With Rust 2024, by default `impl` return types use any generic that is in scope, so in these cases the lifetime of `self`. But since the return type is actually owned, the returned impl shouldn't use any lifetime, which is what `use<>` does. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>