I need to set up a browser bar alias for searching "how the fuck do I ______ in Rust"
Q: "I want to have this function return a tuple of values, but I don't know how long the tuple will be at compile time, and tuples don't have a formal type so I can't just say "return a tuple". How can I do this?"
A: Use a Vector instead. They actually have a type so you can just return a Vec<i32> or whatever.
@noelle that could be a whole blog full of answers >_> you should write that
@noelle god that would be so horrible wtf
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!