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
One thing I noticed is that ron_reboot::utf8_parser::ast_from_str is public, but the Ron<'_> value return type is from the private module ron_reboot::ast. I don't have a great understanding of rust visibility, but it appears the behavior is such that you can access public fields of the Ron<'_> value, but can't pattern match over them.
It would be nice for accessing spans, if you could pattern match over the ron.expr therein.
Is there a reason the module isn't public?
The text was updated successfully, but these errors were encountered:
That seems like it was an oversight, but if you're going to use this repo you're better off cloning and modifying it, I never finished it - there's a major performance issue as well.
One thing I noticed is that
ron_reboot::utf8_parser::ast_from_str
is public, but theRon<'_>
value return type is from the private moduleron_reboot::ast
. I don't have a great understanding of rust visibility, but it appears the behavior is such that you can access public fields of theRon<'_>
value, but can't pattern match over them.It would be nice for accessing spans, if you could pattern match over the
ron.expr
therein.Is there a reason the module isn't public?
The text was updated successfully, but these errors were encountered: