diff options
| author | Jordan McQueen <j@jm.dev> | 2023-07-18 07:51:51 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-17 17:51:51 -0500 |
| commit | e0e633ef14e85fac498ec68bf68253e8473c23c5 (patch) | |
| tree | 90c9eca1d47e5eba900fe707283a9a7837204c7a /tests/codegen/patchable-function-entry | |
| parent | e9dfb6f2179db598cb20052a945550919f401aec (diff) | |
| download | rust-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
