diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-05-03 09:57:02 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-05-03 09:57:02 +0100 |
commit | 682c079043656a55775eff33d806da517542f9eb (patch) | |
tree | 7ac096bc57e71ff76f05691a76e53df06de24d62 /crates/ra_syntax | |
parent | 2474f42ae95bffea7c0bc713f92322bfec4d59a7 (diff) | |
parent | 16d3bb9106762710d2a5314ae4042674dad1b446 (diff) |
Merge #4276
4276: Don't count start of non-ASCII characters as being inside of them r=matklad a=lnicola
I'm still not sure that `utf16_to_utf8_col` is correct for code points from Supplementary Planes. These have two UTF-16 code units, and I feel we're not going to count them correctly.
Fixes the crash in https://github.com/rust-analyzer/rust-analyzer/issues/4263#issuecomment-622988258.
Co-authored-by: Laurențiu Nicola <[email protected]>
Diffstat (limited to 'crates/ra_syntax')
0 files changed, 0 insertions, 0 deletions