mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2025-12-06 19:56:44 +01:00
proc: auto implement Context on command target
Context and TryFromDsl overlap
This commit is contained in:
parent
3bb38f2d27
commit
20ccff13de
5 changed files with 17 additions and 13 deletions
|
|
@ -103,7 +103,7 @@ pub trait ViewContext<'state, E: Output + 'state>: Send + Sync
|
|||
> TryFromDsl<$lt_state, T> for $Struct {
|
||||
fn try_from_expr <$lt_source: $lt_state> (
|
||||
$state: &$lt_state T,
|
||||
$iter: TokenIter<$lt_source>
|
||||
$iter: &mut TokenIter<$lt_source>
|
||||
) -> Option<Self> {
|
||||
let mut $iter = $iter.clone();
|
||||
$body;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue