Get Values Out Of A Tuple In Rust
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 --
This is how to access the values of a rust tuple directly
The second character is: b
Destructuring
And this is how to do it with destructuring
The value of y is: 6.4