wip: updating tests
Some checks are pending
/ build (push) Waiting to run

This commit is contained in:
🪞👃🪞 2025-06-12 21:17:08 +03:00
parent 21832453d9
commit 17506726cb
36 changed files with 280 additions and 271 deletions

View file

@ -85,8 +85,8 @@ impl ToTokens for ExposeImpl {
});
write_quote_to(out, quote! {
/// Generated by [tengri_proc::expose].
impl ::tengri::dsl::Take<#state> for #t {
fn take (state: &#state, mut words: ::tengri::dsl::Cst) -> Perhaps<Self> {
impl ::tengri::dsl::Dsl<#state> for #t {
fn try_provide (state: &#state, mut words: ::tengri::dsl::Ast) -> Perhaps<Self> {
Ok(Some(match words.next().map(|x|x.value) {
#predefined
#(#values)*