flatten

Tuple flattening for rust.