Skip to content

Commit 054505a

Browse files
Update RuleDocumentation.md
1 parent c9131f4 commit 054505a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/RuleDocumentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ Format: The access level is removed from the extension declaration and is added
243243
Assignment expressions must be their own statements.
244244

245245
Assignment should not be used in an expression context that expects a `Void` value. For example,
246-
assigning a variable within a `return` statement existing a `Void` function is prohibited.
246+
assigning a variable within a `return` statement exiting a `Void` function is prohibited.
247247

248248
Lint: If an assignment expression is found in a position other than a standalone statement, a
249249
lint finding is emitted.

0 commit comments

Comments
 (0)