I'm reading Rust's RFC 0401 and see this:
coerce_inner(
Foo<..., T, ...>
) =Foo<..., coerce_inner(T), ...>
whereFoo
is a struct and only the last field has typeT
andT
is not part of the type of any other fields;coerce_inner(
(..., T)
) =(..., coerce_inner(T))
.
It this up-to-date information? If so, what is this useful for?