From 22a6fe840cee7b1306c759bdf3d9d6f3017f2613 Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Sat, 2 May 2026 23:22:38 +0200 Subject: [PATCH] rhs accepts place and value expressions --- src/expressions/operator-expr.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/expressions/operator-expr.md b/src/expressions/operator-expr.md index 6c5e4ffbf1..47de284a23 100644 --- a/src/expressions/operator-expr.md +++ b/src/expressions/operator-expr.md @@ -912,7 +912,7 @@ r[expr.assign.intro] An *assignment expression* moves a value into a specified place. r[expr.assign.assignee] -An assignment expression consists of a [mutable] [assignee expression], the *assignee operand*, followed by an equals sign (`=`) and a [value expression], the *assigned value operand*. +An assignment expression consists of a [mutable] [assignee expression], the *assignee operand*, followed by an equals sign (`=`) and an *assigned value operand*. r[expr.assign.behavior-basic] In its most basic form, an assignee expression is a [place expression], and we discuss this case first.