Closed MichaReiser closed 1 year ago
ToString for Constant is looking very useful.
I wish Identifier can call it through Deref<Target=str>
, ~but adding one will be good too if you need for optimization.~ (It will be copy anyway)
(In the long term, I wish I can remove String from them through #21.)
Good point, this should work already out of the box, thanks to `Deref
Would it be useful to implement
ToString
forIdentifier
andConstant
?