mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2025-12-06 19:56:44 +01:00
This commit is contained in:
parent
2048dd2263
commit
776cea6f1b
9 changed files with 126 additions and 108 deletions
|
|
@ -149,9 +149,9 @@ impl ToTokens for CommandDef {
|
|||
}
|
||||
}
|
||||
/// Generated by [tengri_proc::command].
|
||||
impl<'source> ::tengri::dsl::Namespace<'source, #state> for #command_enum {
|
||||
fn take_from <'state> (
|
||||
state: &'state #state,
|
||||
impl ::tengri::dsl::Namespace<#state> for #command_enum {
|
||||
fn take_from <'source> (
|
||||
state: &#state,
|
||||
words: &mut ::tengri::dsl::TokenIter<'source>
|
||||
) -> Perhaps<Self> {
|
||||
let mut words = words.clone();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue