mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2025-12-06 11:46:42 +01:00
fix(proc): use TryFromDsl locally
This commit is contained in:
parent
bad20f5037
commit
a9619ab9ce
3 changed files with 10 additions and 10 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue