You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not really, unles you count @if let ..., @match ..., or function / template calls.
It has been suggested before, so maybe it is a good idea. I guess there could be an @let template tag similar to @if let, but with an irrefutable pattern (you can actually use @if let variable = expression { ... }, but rustc will give you a warning about the "irrefutable if-let pattern").
Is there something similar to Django's
with
tag to store result of complex or expensive methods for use in the template multiple times?The text was updated successfully, but these errors were encountered: