3 ms·
This was an explicit decision; we could do this kind of inference but chose not to, similar to how you must declare the types of functions. We started with the
by steveklabnik 9y ago
This was an explicit decision; we could do this kind of inference but chose not to, similar to how you must declare the types of functions. We started with the most conservative choice, and then are feeling it out; that's why you can now drop the lifetime.