Skip to content

Commit 39ef368

Browse files
committed
Remove pub(crate)
1 parent b26cded commit 39ef368

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/line-index/src/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ use text_size::{TextRange, TextSize};
1414
#[derive(Clone, Debug, PartialEq, Eq)]
1515
pub struct LineIndex {
1616
/// Offset the beginning of each line, zero-based.
17-
pub(crate) newlines: Vec<TextSize>,
17+
newlines: Vec<TextSize>,
1818
/// List of non-ASCII characters on each line.
19-
pub(crate) line_wide_chars: NoHashHashMap<u32, Vec<WideChar>>,
19+
line_wide_chars: NoHashHashMap<u32, Vec<WideChar>>,
2020
}
2121

2222
/// Line/Column information in native, utf8 format.
@@ -49,11 +49,11 @@ pub struct WideLineCol {
4949
}
5050

5151
#[derive(Clone, Debug, Hash, PartialEq, Eq)]
52-
pub(crate) struct WideChar {
52+
struct WideChar {
5353
/// Start offset of a character inside a line, zero-based
54-
pub(crate) start: TextSize,
54+
start: TextSize,
5555
/// End offset of a character inside a line, zero-based
56-
pub(crate) end: TextSize,
56+
end: TextSize,
5757
}
5858

5959
impl WideChar {

0 commit comments

Comments
 (0)