In Golang, we can return more than one value from a function, but this feature is not unique to the programming language. Other languages can do this too. Golang Function Declaration To Return Multiple Values Golang’s ability to return multiple
Rust – Display Contents of Array, Tuple, HashMap and Vector
When using collection types, we sometimes do not want to use loops to display each value. For example, in Rust, we can display the content of an Array, Tuple, HashMap (Map), or Vector without loops using the Debug trait. Rust