From 59405bfe4ad0afa0b7ff533c7bfbc3ad4170604c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20Ochagav=C3=ADa?= Date: Mon, 5 Nov 2018 22:29:33 +0100 Subject: cargo format --- crates/ra_syntax/src/parser_impl/event.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'crates/ra_syntax/src/parser_impl') diff --git a/crates/ra_syntax/src/parser_impl/event.rs b/crates/ra_syntax/src/parser_impl/event.rs index 1445401bc..bf9c1cef0 100644 --- a/crates/ra_syntax/src/parser_impl/event.rs +++ b/crates/ra_syntax/src/parser_impl/event.rs @@ -162,9 +162,10 @@ impl<'a, S: Sink> EventProcessor<'a, S> { .sum::(); self.leaf(kind, len, n_raw_tokens); } - Event::Error { msg } => self.sink.error( - SyntaxError::new(SyntaxErrorKind::ParseError(msg), self.text_pos), - ), + Event::Error { msg } => self.sink.error(SyntaxError::new( + SyntaxErrorKind::ParseError(msg), + self.text_pos, + )), } } self.sink -- cgit v1.2.3