From 0fec34df039a2b093d44f237cc7b7f4bcbd6d326 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Tue, 14 Sep 2021 13:17:31 -0700 Subject: [PATCH] Tiny doc update: `var` is not an expression. (#812) --- docs/design/control_flow/return.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/design/control_flow/return.md b/docs/design/control_flow/return.md index d48be736820d..84456600d834 100644 --- a/docs/design/control_flow/return.md +++ b/docs/design/control_flow/return.md @@ -89,8 +89,8 @@ When a variable is marked as `returned`, it must be the only `returned` value in-scope. If a `returned var` is returned, the specific syntax `return var` must be used. -Returning other expressions is not allowed while a `returned var` is in scope. -For example: +Returning expressions is not allowed while a `returned var` is in scope. For +example: ```carbon fn MakeCircle(radius: Int) -> Circle {