diff options
| author | Ariel Davis <ariel.z.davis@icloud.com> | 2023-05-04 16:20:53 -0700 |
|---|---|---|
| committer | Ariel Davis <ariel.z.davis@icloud.com> | 2023-05-06 00:49:23 -0700 |
| commit | 39ef368e75d2afc66516b369dd02a3a0ac8d2b8d (patch) | |
| tree | a2ab9f7bfaf073761325bc6f07c8c3237f4b1009 | |
| parent | b26cded8d19153180dcdd745034ddbb4b3a3fa1e (diff) | |
| download | rust-39ef368e75d2afc66516b369dd02a3a0ac8d2b8d.tar.gz rust-39ef368e75d2afc66516b369dd02a3a0ac8d2b8d.zip | |
Remove pub(crate)
| -rw-r--r-- | lib/line-index/src/lib.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/line-index/src/lib.rs b/lib/line-index/src/lib.rs index 64a094c63e1..2898cdc1bfe 100644 --- a/lib/line-index/src/lib.rs +++ b/lib/line-index/src/lib.rs @@ -14,9 +14,9 @@ use text_size::{TextRange, TextSize}; #[derive(Clone, Debug, PartialEq, Eq)] pub struct LineIndex { /// Offset the beginning of each line, zero-based. - pub(crate) newlines: Vec<TextSize>, + newlines: Vec<TextSize>, /// List of non-ASCII characters on each line. - pub(crate) line_wide_chars: NoHashHashMap<u32, Vec<WideChar>>, + line_wide_chars: NoHashHashMap<u32, Vec<WideChar>>, } /// Line/Column information in native, utf8 format. @@ -49,11 +49,11 @@ pub struct WideLineCol { } #[derive(Clone, Debug, Hash, PartialEq, Eq)] -pub(crate) struct WideChar { +struct WideChar { /// Start offset of a character inside a line, zero-based - pub(crate) start: TextSize, + start: TextSize, /// End offset of a character inside a line, zero-based - pub(crate) end: TextSize, + end: TextSize, } impl WideChar { |
