FromDsl -> Namespace

This commit is contained in:
🪞👃🪞 2025-05-21 00:06:36 +03:00
parent 455d6d00d5
commit f714302f21
8 changed files with 33 additions and 32 deletions

View file

@ -85,7 +85,7 @@ impl ToTokens for ExposeImpl {
let values = variants.iter().map(ExposeArm::from);
write_quote_to(out, quote! {
/// Generated by [tengri_proc::expose].
impl<'source> ::tengri::dsl::FromDsl<'source, #state> for #t {
impl<'source> ::tengri::dsl::Namespace<'source, #state> for #t {
fn take_from <'state> (
state: &'state #state,
words: &mut ::tengri::dsl::TokenIter<'source>