Rust Language Cheat Sheet
As a Rust noob, what's the rhyme or reason for semicolons?<p>I see the example:<p><pre><code>   struct S {}
</code></pre>
but here the semicolon is required:<p><pre><code>   type T = S;
</code></pre>
or you get weird errors. It's hard to predict when a semicolon is required at least for type declarations, is there an underlying principle?