The release notes say:
impl Trait
is now stable allowing you to have abstract return types. e.g.fn foo() -> impl Iterator<Item=u8>
orfn open(path: impl AsRef<Path>)
.
However, only the first of those two is an "abstract return type"; the second is just a convenient shorthand for a generic parameter.