From df6efe62c573c98bd0ea9eb137b4c8a5838f5a4a Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 20 Feb 2019 14:53:19 +0300 Subject: make stuff private --- crates/ra_syntax/src/parser_impl.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ra_syntax/src') diff --git a/crates/ra_syntax/src/parser_impl.rs b/crates/ra_syntax/src/parser_impl.rs index d99615d72..1f43aa9f9 100644 --- a/crates/ra_syntax/src/parser_impl.rs +++ b/crates/ra_syntax/src/parser_impl.rs @@ -68,7 +68,7 @@ pub(crate) struct 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 { parser_input: inp, pos: InputPosition::new(), @@ -77,7 +77,7 @@ impl<'t> ParserImpl<'t> { } } - pub(crate) fn into_events(self) -> Vec { + fn into_events(self) -> Vec { assert_eq!(self.nth(0), EOF); self.events } -- cgit v1.2.3