# \`...\` vs \`..=\` for inclusive ranges

**URL:** <https://internals.rust-lang.org/t/vs-for-inclusive-ranges/1539>\
**Category:** ideas (deprecated)\
**Created:** [February 4, 2015, 1:23pm UTC](https://internals.rust-lang.org/t/vs-for-inclusive-ranges/1539 "2015-02-04T13:23:56Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![petrochenkov](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/petrochenkov/32/2784_2.png) [@petrochenkov](https://internals.rust-lang.org/u/petrochenkov)\
**Post date:** [February 4, 2015, 2:23pm UTC](https://internals.rust-lang.org/t/vs-for-inclusive-ranges/1539/4 "2015-02-04T14:23:22Z")

</div>

I like this syntax. Better visibility is a good argument and I find the correspondence between “=” and “inclusion” quite intuitive.

Any ambiguity / operator precedence problems with binary, unary, nullary forms of this notation (`begin ..= end`, `begin..=`, `..=end`, just `..=`)? `..=end` looks like an assignment to full (exclusive) range literal.

---

_[View the full topic](https://internals.rust-lang.org/t/vs-for-inclusive-ranges/1539)._
