Kaynağa Gözat

Tiny doc update: `var` is not an expression. (#812)

Richard Smith 4 yıl önce
ebeveyn
işleme
0fec34df03
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      docs/design/control_flow/return.md

+ 2 - 2
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.
 in-scope.
 
 
 If a `returned var` is returned, the specific syntax `return var` must be used.
 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
 ```carbon
 fn MakeCircle(radius: Int) -> Circle {
 fn MakeCircle(radius: Int) -> Circle {