Skip to content

Commit 467d0c0

Browse files
jurahuljh7370
andauthored
Update llvm/docs/CodingStandards.rst
Co-authored-by: James Henderson <[email protected]>
1 parent 9d78736 commit 467d0c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/docs/CodingStandards.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ rather than C-style casts. There are two exceptions to this:
591591

592592
* When casting to ``void`` to suppress warnings about unused variables (as an
593593
alternative to ``[[maybe_unused]]``). Prefer C-style casts in this instance.
594-
Note that if the variable is unused because its used only in ``assert``, use
594+
Note that if the variable is unused because it's used only in ``assert``, use
595595
``[[maybe_unused]]`` instead of a C-style void cast.
596596

597597
* When casting between integral types (including enums that are not strongly-

0 commit comments

Comments
 (0)