mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 13:48:50 +00:00
parent
3c41087bf8
commit
c579b47b4a
1 changed files with 1 additions and 2 deletions
|
@ -77,8 +77,7 @@ impl<'a> {{ node }}<'a> {
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
{%- set method_name = m.0 -%}
|
{%- set method_name = m.0 -%}
|
||||||
{%- set ChildName = m.1 %}
|
{%- set ChildName = m.1 %}
|
||||||
{%- endif -%}
|
{%- endif %}
|
||||||
|
|
||||||
pub fn {{ method_name }}(self) -> Option<{{ ChildName }}<'a>> {
|
pub fn {{ method_name }}(self) -> Option<{{ ChildName }}<'a>> {
|
||||||
super::child_opt(self)
|
super::child_opt(self)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue