You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is helpful for things like identifiers, where we only have a single field in the struct but want to share a common leaf definition. Ideally we could support:
#[rust_sitter::leaf(...)]typeIdent = String;
so that users can interact directly with the string. This is a bit tricky though, since we can't add an impl for the type alias.
The text was updated successfully, but these errors were encountered:
This is helpful for things like identifiers, where we only have a single field in the struct but want to share a common leaf definition. Ideally we could support:
so that users can interact directly with the string. This is a bit tricky though, since we can't add an
impl
for the type alias.The text was updated successfully, but these errors were encountered: