Get Values Out Of A Tuple In Rust
April 2021
This is how to access the values of a rust tuple directly
Output:
The second character is: b
Destructuring
And this is how to do it with destructuring
Output:
The value of y is: 6.4
end of line