In this case, it’d make no sense to name the field of each struct. In fact, it’d make the code more complex to read. Conclusion In this article we dove into tuples in Rust. First, we briefly saw what they are and how to use them. Secondly, we briefly introduced possible ...
The attempted use case I ran into this on was splitting a large file up into multiple file smaller files without spending time refactoring, making a library, or creating mod.rs. I thought I had removed one of the !include lines but hadn't, so got the error. Sign up for free to join...