Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused configurations #45

Open
vldm opened this issue Jan 16, 2024 · 0 comments
Open

Remove unused configurations #45

vldm opened this issue Jan 16, 2024 · 0 comments

Comments

@vldm
Copy link
Collaborator

vldm commented Jan 16, 2024

Configuration like: https://docs.rs/rstml/latest/rstml/struct.ParserConfig.html#method.type_of_top_level_nodes
https://docs.rs/rstml/latest/rstml/struct.ParserConfig.html#method.number_of_top_level_nodes
are not look very reusable.
Instead macro implementor can always apply those checks manually.

there also https://docs.rs/rstml/latest/rstml/struct.ParserConfig.html#method.flat_tree
that looks usable only for debug, but i propose to keep it for now, because it's implementation require some knowledge of types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant