Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Document in the FAQ why Rust doesn't have "automatic semi-colon insertion" like JavaScript does #1227

Open
Centril opened this issue Nov 2, 2018 · 0 comments

Comments

@Centril
Copy link
Contributor

Centril commented Nov 2, 2018

See title.

In any case, the semi-colon in Rust is significant, sometimes in subtle ways (e.g. rust-lang/rust#54782). I don't foresee a change like this being adopted. The only reason I haven't just closed this issue is that I am wondering whether we have a standard spot in the docs explaining why Rust doesn't use something like "automatic semi-colon insertion" like what JavaScript does? If we do have a FAQ entry or some other similar standard reference, I'd like to know what it is. And if we don't, we should add one, right?

cc rust-lang/rfcs#2583 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant