mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-01 07:48:45 +00:00
Update crates/ide-db/src/line_index.rs
Co-authored-by: Stig Brautaset <stig@brautaset.org>
This commit is contained in:
parent
0da27376cf
commit
9fdcf5787d
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ use syntax::{TextRange, TextSize};
|
||||||
|
|
||||||
#[derive(Clone, Debug, PartialEq, Eq)]
|
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||||
pub struct LineIndex {
|
pub struct LineIndex {
|
||||||
/// Offset the the beginning of each line, zero-based.
|
/// Offset the beginning of each line, zero-based.
|
||||||
pub(crate) newlines: Vec<TextSize>,
|
pub(crate) newlines: Vec<TextSize>,
|
||||||
/// List of non-ASCII characters on each line.
|
/// List of non-ASCII characters on each line.
|
||||||
pub(crate) line_wide_chars: NoHashHashMap<u32, Vec<WideChar>>,
|
pub(crate) line_wide_chars: NoHashHashMap<u32, Vec<WideChar>>,
|
||||||
|
|
Loading…
Reference in a new issue