diff options
| author | Alex Kladov <aleksey.kladov@gmail.com> | 2023-02-14 08:19:58 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-14 08:19:58 +0000 |
| commit | 9fdcf5787dc8de0408b151ba5b40f7a6f013b2a0 (patch) | |
| tree | 400d71f924e34a8bf4818984c4be271e125fe9bf | |
| parent | 0da27376cf3768d92bcd0c094b52da50146dc70f (diff) | |
| download | rust-9fdcf5787dc8de0408b151ba5b40f7a6f013b2a0.tar.gz rust-9fdcf5787dc8de0408b151ba5b40f7a6f013b2a0.zip | |
Update crates/ide-db/src/line_index.rs
Co-authored-by: Stig Brautaset <stig@brautaset.org>
| -rw-r--r-- | crates/ide-db/src/line_index.rs | 2 |
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 c17ca95f5d0..16814a1e636 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>>, |
