From c579b47b4a2e702c6c5e7eac979486c81675f036 Mon Sep 17 00:00:00 2001 From: Reinier Maas Date: Wed, 10 Oct 2018 17:18:21 +0200 Subject: Update generated.rs.tera Removing `-` for #114 --- crates/ra_syntax/src/ast/generated.rs.tera | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/ra_syntax/src/ast/generated.rs.tera b/crates/ra_syntax/src/ast/generated.rs.tera index ceb2cd7e2..ffa9c4134 100644 --- a/crates/ra_syntax/src/ast/generated.rs.tera +++ b/crates/ra_syntax/src/ast/generated.rs.tera @@ -77,8 +77,7 @@ impl<'a> {{ node }}<'a> { {%- else -%} {%- set method_name = m.0 -%} {%- set ChildName = m.1 %} -{%- endif -%} - +{%- endif %} pub fn {{ method_name }}(self) -> Option<{{ ChildName }}<'a>> { super::child_opt(self) } -- cgit v1.2.3