From 9fdcf5787dc8de0408b151ba5b40f7a6f013b2a0 Mon Sep 17 00:00:00 2001 From: Alex Kladov Date: Tue, 14 Feb 2023 08:19:58 +0000 Subject: [PATCH] Update crates/ide-db/src/line_index.rs Co-authored-by: Stig Brautaset --- crates/ide-db/src/line_index.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, /// List of non-ASCII characters on each line. pub(crate) line_wide_chars: NoHashHashMap>,