Unnamed repository; edit this file 'description' to name the repository.
Update crates/ide-db/src/line_index.rs
Co-authored-by: Stig Brautaset <[email protected]>
Alex Kladov 2023-02-14
parent 0da2737 · commit 9fdcf57
-rw-r--r--crates/ide-db/src/line_index.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide-db/src/line_index.rs b/crates/ide-db/src/line_index.rs
index c17ca95f5d..16814a1e63 100644
--- a/crates/ide-db/src/line_index.rs
+++ b/crates/ide-db/src/line_index.rs
@@ -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>>,