aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_cli
diff options
context:
space:
mode:
authorAlexander Elís Ebenesersson <[email protected]>2019-10-27 18:00:28 +0000
committerAlexander Elís Ebenesersson <[email protected]>2019-10-27 18:00:28 +0000
commit17bd3e59f86a4da548c6c61dff9421dfdb31b65c (patch)
tree9c27106e8f9762afe38f6f8ad9145e687f6441c7 /crates/ra_cli
parent7dfbe28211910d5d7c74a593bf0007c5db3e3496 (diff)
Fix panic on raw string assist
Strings that do not contain two quotation marks would cause a slice indexing panic because code was assuming `find_usual_string_range` would return a string with two quotes, but it would incorrectly also return text ranges containing only a single quote.
Diffstat (limited to 'crates/ra_cli')
0 files changed, 0 insertions, 0 deletions