about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry
diff options
context:
space:
mode:
authorJordan McQueen <j@jm.dev>2023-07-18 07:51:51 +0900
committerGitHub <noreply@github.com>2023-07-17 17:51:51 -0500
commite0e633ef14e85fac498ec68bf68253e8473c23c5 (patch)
tree90c9eca1d47e5eba900fe707283a9a7837204c7a /tests/codegen/patchable-function-entry
parente9dfb6f2179db598cb20052a945550919f401aec (diff)
downloadrust-e0e633ef14e85fac498ec68bf68253e8473c23c5.tar.gz
rust-e0e633ef14e85fac498ec68bf68253e8473c23c5.zip
Use matches!() macro to improve readability (#5830)
* Use matches!() macro to improve readability

1. Use `matches!()` macro in `is_line_comment` and `is_block_comment` to
improve readability.
2. Very sightly improve the wording of the doc comment for these two functions.

* Update wording on doc comment on is_line_comment()
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions