diff options
author | Alexander Elís Ebenesersson <[email protected]> | 2019-10-27 18:00:28 +0000 |
---|---|---|
committer | Alexander Elís Ebenesersson <[email protected]> | 2019-10-27 18:00:28 +0000 |
commit | 17bd3e59f86a4da548c6c61dff9421dfdb31b65c (patch) | |
tree | 9c27106e8f9762afe38f6f8ad9145e687f6441c7 /crates/ra_hir/src/ty/tests | |
parent | 7dfbe28211910d5d7c74a593bf0007c5db3e3496 (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_hir/src/ty/tests')
0 files changed, 0 insertions, 0 deletions