1cb90f4e65
Eventually, there will probably be a `crate` visibility specifier that does the same thing as `pub(crate)`. This commit replaces `pub` with `pub(crate)`, so when `crate` is available we can easily switch to it.
8 lines
174 B
Rust
8 lines
174 B
Rust
/// Source position
|
|
#[derive(Copy, Clone, PartialEq, Debug)]
|
|
pub(crate) struct Position {
|
|
pub(crate) offset: usize,
|
|
pub(crate) column: usize,
|
|
pub(crate) line: usize,
|
|
}
|