dsl: auto-impl the obvious one (hopefully)
Some checks are pending
/ build (push) Waiting to run

re foreign trait constraints
This commit is contained in:
🪞👃🪞 2025-05-23 21:47:18 +03:00
parent ddf0c05d5f
commit cbd28a5934
10 changed files with 30 additions and 24 deletions

View file

@ -77,7 +77,7 @@ impl ToTokens for ViewDef {
#(#builtins)*
None
},
// Symbols are handled by user-provided functions
// Symbols are handled by user-taked functions
// that take no parameters but `&self`.
::tengri::dsl::Value::Sym(sym) => match sym {
#(#exposed)*
@ -100,7 +100,7 @@ impl ToTokens for ViewDef {
#self_ty::view(self)
}
}
// Original user-provided implementation:
// Original user-taked implementation:
#block
})
}