How is impl Trait in the return position different?

Continuing the discussion from Impl Trait vs trait bound syntax:

Unfortunately this was not mentioned in the original thread.

The reference gives a short introduction to the two, and their differences, on this page:

Impl trait type - The Rust Reference

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.