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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
There's a discussion for implementing
IntoPropValue
forCow
.There should implementions of
IntoPropValue<Box<T>>
(not justBox
) for&T
.IntoPropValue<String>
is already implemented for&'static str
, so I don't see the problem.Say you have a props object that accepts an
Arc<str>
, wouldn't it be nice to be able to convert from a&str
to anArc<str>
?I could make a PR.
edit: Is this possible while preventing ambiguous types?
Beta Was this translation helpful? Give feedback.
All reactions