# Documentation for implicit reborrows

**URL:** <https://internals.rust-lang.org/t/documentation-for-implicit-reborrows/12152>\
**Category:** documentation\
**Created:** [April 13, 2020, 9:16pm UTC](https://internals.rust-lang.org/t/documentation-for-implicit-reborrows/12152 "2020-04-13T21:16:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![smarnach](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/smarnach/32/2998_2.png) [@smarnach](https://internals.rust-lang.org/u/smarnach)\
**Post date:** [April 13, 2020, 9:16pm UTC](https://internals.rust-lang.org/t/documentation-for-implicit-reborrows/12152/1 "2020-04-13T21:16:09Z")

</div>

When assigning to a mutable reference type, the source reference is not moved but rather implicitly reborrowed. This magical behaviour has a lot of subtle consequences, yet I can't find any mention of it in any official Rust documentation, though I seem to remember that I found the relevant documentation a while ago. Does anyone have a pointer? If not, we should probably document it in the Rust reference.

---

<div class="post-metadata">

**Author:** ![steveklabnik](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/steveklabnik/32/4524_2.png) [@steveklabnik](https://internals.rust-lang.org/u/steveklabnik)\
**Post date:** [April 13, 2020, 10:13pm UTC](https://internals.rust-lang.org/t/documentation-for-implicit-reborrows/12152/2 "2020-04-13T22:13:39Z")

</div>

> <https://github.com/rust-lang/reference/issues/788>
>
> tl;dr: Rust documentation is unclear on reborrowing, should explain details in the Reference
> As it stands, there is only one mention of...

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/system/32/14092_2.png) [@system](https://internals.rust-lang.org/u/system)\
**Post date:** [July 12, 2020, 10:13pm UTC](https://internals.rust-lang.org/t/documentation-for-implicit-reborrows/12152/3 "2020-07-12T22:13:40Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
