about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-07-26 08:42:43 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-07-26 09:43:41 +1000
commitcaee195bdd922c25946276625993b93a5bc0eb41 (patch)
treebfeeb74e196c1aee5104bc5ba2f71128d38bbdec /compiler/rustc_codegen_llvm/src
parent6106b05b27988f4b946d7af219a6db95fb4477a1 (diff)
downloadrust-caee195bdd922c25946276625993b93a5bc0eb41.tar.gz
rust-caee195bdd922c25946276625993b93a5bc0eb41.zip
Invert early exit conditions in `collect_tokens_trailing_token`.
This has been bugging me for a while. I find complex "if any of these
are true" conditions easier to think about than complex "if all of these
are true" conditions, because you can stop as soon as one is true.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions