Update crates/ide-db/src/line_index.rs

Co-authored-by: Stig Brautaset <stig@brautaset.org>
This commit is contained in:
Alex Kladov 2023-02-14 08:19:58 +00:00 committed by GitHub
parent 0da27376cf
commit 9fdcf5787d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ use syntax::{TextRange, TextSize};
#[derive(Clone, Debug, PartialEq, Eq)]
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>,
/// List of non-ASCII characters on each line.
pub(crate) line_wide_chars: NoHashHashMap<u32, Vec<WideChar>>,