]> git.lizzy.rs Git - rust.git/commitdiff
Merge #7657
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Tue, 16 Feb 2021 16:34:22 +0000 (16:34 +0000)
committerGitHub <noreply@github.com>
Tue, 16 Feb 2021 16:34:22 +0000 (16:34 +0000)
7657: utf8 r=matklad a=matklad

- Prepare for utf-8 offsets
- reduce code duplication in tests
- Make utf8 default, implement utf16 in terms of it
- Make it easy to add additional context for offset conversion
- Implement utf8 offsets

closes #7453

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
1  2 
crates/rust-analyzer/src/config.rs
crates/rust-analyzer/src/to_proto.rs

Simple merge
Simple merge