Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Every one of those 3 is a sensible feature. Not only is impl Trait on variables consistent with the existing use of impl Trait, but the RFC for it was accepted (https://github.com/rust-lang/rfcs/pull/2071) and the feature is in development (https://github.com/rust-lang/rust/issues/63065). To jump from there to the desired feature only requires the addition of features irrelevant to putting impl Trait on variables.
Every one of those 3 is a sensible feature. Not only is impl Trait on variables consistent with the existing use of impl Trait, but the RFC for it was accepted (https://github.com/rust-lang/rfcs/pull/2071) and the feature is in development (https://github.com/rust-lang/rust/issues/63065). To jump from there to the desired feature only requires the addition of features irrelevant to putting impl Trait on variables.
P.S. you can use either to make it work on stable rustc