From c5c5f4260b4ab1a03d2d3f7a616202369adc9ade Mon Sep 17 00:00:00 2001 From: kjeremy Date: Mon, 13 Jan 2020 11:38:53 -0500 Subject: Readability --- crates/ra_parser/src/grammar/paths.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_parser/src/grammar') diff --git a/crates/ra_parser/src/grammar/paths.rs b/crates/ra_parser/src/grammar/paths.rs index e125c6b9c..ca8e075a1 100644 --- a/crates/ra_parser/src/grammar/paths.rs +++ b/crates/ra_parser/src/grammar/paths.rs @@ -94,7 +94,7 @@ fn path_segment(p: &mut Parser, mode: Mode, first: bool) { fn opt_path_type_args(p: &mut Parser, mode: Mode) { match mode { - Mode::Use => {} + Mode::Use => return, Mode::Type => { // test path_fn_trait_args // type F = Box ()>; -- cgit v1.2.3