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
StrStyle is vestigial as far as I can tell. It does not appear as a field in any syntax tree data structures, or in any public function signatures. Did you have a use case that benefits from using syn::StrStyle as opposed to your own enum?
Most likely we planned to add impl LitStr { pub fn style(&self) -> StrStyle } at some point but never found a use for it.
It seems like
syn::StrStyle
does not implement the common traitsClone
,Copy
,Debug
,PartialEq
,Eq
andHash
. Is this intentional, or an oversight?The text was updated successfully, but these errors were encountered: