Using impl Trait in the return position is one of Rust's most useful features for library authors. It allows you to change the concrete type without breaking semver. e.g. `fn printable() -> impl std::fmt::Display` would enable you to return anything that you want that implements Display.
0 reposts19 likes