Is there a reference that goes into “all” the details about the core Rust language? For example, the “if” expression.
Some “if” information is in the first edition of The Book. Overlapping, but different information is found in the second edition. Rust by example shows examples of “if” in one place and “if let” in another place, but doesn’t discuss or explain it at all! The standard library API reference doesn’t have an entry for “if”, and neither does the Rustnomicon (that I can find).
I’m writing an Intro to Rust talk for OpenWest, and since I have to explain things like control flow, I would like to make sure to understand them in depth. But I’m having a hard time finding the “depth” in the documentation, even after combing over all the different types of docs!
Do the “while” and “for” loops have a “finally” clause? Can a “for” loop be annotated with a loop label? What other features and behaviors have I not even thought to look for? How do I research stuff at this level?
I feel like for the core language, Rust only has tutorials…and source code, with a big gaping hole in between. But I’m hoping I am just missing a documentation source somewhere.