about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorDorian Scheidt <dorian.scheidt@gmail.com>2022-07-22 19:06:14 -0500
committerDorian Scheidt <dorian.scheidt@gmail.com>2022-07-23 12:25:02 -0500
commit13c83f90ac0031b71bea8aa14d967b47647498bb (patch)
tree2a1655e1da52c475f5cd3ca72c41973348afcd48 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent0b131bc78eece8be69b5d3633f4db04cf2c1151b (diff)
downloadrust-13c83f90ac0031b71bea8aa14d967b47647498bb.tar.gz
rust-13c83f90ac0031b71bea8aa14d967b47647498bb.zip
fix: Don't add braces to 'if' completion in match guard position
When the cursor is in a match arm, but before the fat arrow (=>) token, don't
add braces when autocompleting "if".

fixes #12823
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions