Skip to content

Commit

Permalink
Add indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-blackbird committed Nov 11, 2024
1 parent fb481e9 commit 514d8c5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions codegen/templates/macros.rs.tera
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,12 @@ impl {{ op }}{% if rhs_t %}<{{ rhs }}>{% endif %} for {% if self_ref %}&{% endif

{% macro impl_op_ref(op, self_t, rhs_t=false, output_t=false, self="self") %}
{%if rhs_t %}
{{ self::impl_op_ref_inner(op=op, self_t=self_t, rhs_t=rhs_t, output_t=output_t, self=self, self_ref=false, rhs_ref=true) }}
{%if output_t %}
{{ self::impl_op_ref_inner(op=op, self_t=self_t, rhs_t=rhs_t, output_t=output_t, self=self, self_ref=true, rhs_ref=true) }}
{% endif %}
{{ self::impl_op_ref_inner(op=op, self_t=self_t, rhs_t=rhs_t, output_t=output_t, self=self, self_ref=false, rhs_ref=true) }}
{%if output_t %}
{{ self::impl_op_ref_inner(op=op, self_t=self_t, rhs_t=rhs_t, output_t=output_t, self=self, self_ref=true, rhs_ref=true) }}
{% endif %}
{% endif %}
{%if output_t %}
{{ self::impl_op_ref_inner(op=op, self_t=self_t, rhs_t=rhs_t, output_t=output_t, self=self, self_ref=true, rhs_ref=false) }}
{{ self::impl_op_ref_inner(op=op, self_t=self_t, rhs_t=rhs_t, output_t=output_t, self=self, self_ref=true, rhs_ref=false) }}
{% endif %}
{% endmacro impl_op_ref %}

0 comments on commit 514d8c5

Please sign in to comment.