From 39ef368e75d2afc66516b369dd02a3a0ac8d2b8d Mon Sep 17 00:00:00 2001 From: Ariel Davis Date: Thu, 4 May 2023 16:20:53 -0700 Subject: [PATCH] Remove pub(crate) --- lib/line-index/src/lib.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/line-index/src/lib.rs b/lib/line-index/src/lib.rs index 64a094c63e1a..2898cdc1bfee 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, + newlines: Vec, /// List of non-ASCII characters on each line. - pub(crate) line_wide_chars: NoHashHashMap>, + line_wide_chars: NoHashHashMap>, } /// 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 {