mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
make stuff private
This commit is contained in:
parent
5b617e3bf8
commit
df6efe62c5
1 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ pub(crate) struct ParserImpl<'t> {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'t> ParserImpl<'t> {
|
impl<'t> ParserImpl<'t> {
|
||||||
pub(crate) fn new(inp: &'t ParserInput<'t>) -> ParserImpl<'t> {
|
fn new(inp: &'t ParserInput<'t>) -> ParserImpl<'t> {
|
||||||
ParserImpl {
|
ParserImpl {
|
||||||
parser_input: inp,
|
parser_input: inp,
|
||||||
pos: InputPosition::new(),
|
pos: InputPosition::new(),
|
||||||
|
@ -77,7 +77,7 @@ impl<'t> ParserImpl<'t> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) fn into_events(self) -> Vec<Event> {
|
fn into_events(self) -> Vec<Event> {
|
||||||
assert_eq!(self.nth(0), EOF);
|
assert_eq!(self.nth(0), EOF);
|
||||||
self.events
|
self.events
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue