4 ms·
> Are there static type systems that make it easy to work with types like that? In Rust things that can be rendered to a string (in a user-friendly manner) imp
by Measter 6y ago
> Are there static type systems that make it easy to work with types like that?
In Rust things that can be rendered to a string (in a user-friendly manner) implement the Display trait. A slice of things that can be rendered would have this type: `&[&dyn Display]`.