Skip to content

Glossary: Rust Basics

Mutable reference

Also written: &mut, mutable references

A reference that lets the borrower change the value, written `&mut x`. You can have only one at a time, and no `&` readers at the same moment.

Where the book teaches it

Related terms

ReferenceBorrowImmutable