remove DslKey
Some checks failed
/ build (push) Has been cancelled

This commit is contained in:
🪞👃🪞 2025-08-17 19:32:43 +03:00
parent ddd162f225
commit 1ef898ac32
2 changed files with 1 additions and 24 deletions

View file

@ -87,7 +87,7 @@ impl ExposeImpl {
/// Generated by [tengri_proc::expose].
impl ::tengri::dsl::FromDsl<#state> for #t {
fn from_dsl (state: &#state, dsl: &impl Dsl) -> Perhaps<Self> {
match dsl.key()? {
match dsl.word()? {
Some("true") => Ok(Some(true)),
Some("false") => Ok(Some(false)),
_ => match dsl.word()? { #(#variants)* _ => Ok(None) }