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
To do that, we would need to update <leon::Tempalte as Clone>::clone to call .to_owned on Cow::Borrowed, which is a breaking change and would need documentation.
The text was updated successfully, but these errors were encountered:
Also, leon::Item can only contains & str, so even if we fix the implementation of <leon::Template as Clone>::clone, the leon::Template::items would still contains reference, not String.
To fix that, it has to be changed to Cow<'_, str>.
I didn't remember why we didn't use Cow<'_, str>@passcod .
To do that, we would need to update
<leon::Tempalte as Clone>::clone
to call.to_owned
onCow::Borrowed
, which is a breaking change and would need documentation.The text was updated successfully, but these errors were encountered: