fix(proc): use TryFromDsl locally

This commit is contained in:
🪞👃🪞 2025-05-14 14:35:38 +03:00
parent bad20f5037
commit a9619ab9ce
3 changed files with 10 additions and 10 deletions

View file

@ -82,6 +82,7 @@ impl ToTokens for CommandDef {
fn get <'source> (&self, iter: &mut ::tengri::dsl::TokenIter<'source>)
-> Option<#enumeration>
{
use ::tengri::dsl::TryFromDsl;
#enumeration::try_from_expr(self, iter)
}
}