Impl Trait vs trait bound syntax

In the argument position impl Trait is the same as regular generics, with the only difference that it doesn't allow the turbofish syntax.

impl Trait in the return position is very different.

3 Likes