# Make (Some) Separators Optional

**URL:** <https://internals.rust-lang.org/t/make-some-separators-optional/4846>\
**Category:** language design\
**Created:** [February 24, 2017, 6:59pm UTC](https://internals.rust-lang.org/t/make-some-separators-optional/4846 "2017-02-24T18:59:54Z")\
**Posts on this page:** 1\
**Showing post:** 55

<div class="post-metadata">

**Author:** ![Centril](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/centril/32/3334_2.png) [@Centril](https://internals.rust-lang.org/u/Centril)\
**Post date:** [June 20, 2018, 9:26pm UTC](https://internals.rust-lang.org/t/make-some-separators-optional/4846/55 "2018-06-20T21:26:09Z")

</div>

> [@Ixrec](#):
>
> When we stick to things that are valid syntax in the first place, we get the aforementioned arguably consistent rule that an item ends in either a semicolon or a closing curly brace, but not both:

(Unless you are inside an `fn` body where `;` is allowed and sometimes required after `}`, which imo makes the rule too complicated to be consistent)

---

_[View the full topic](https://internals.rust-lang.org/t/make-some-separators-optional/4846)._
