No shared conversions for other string-like types (Path, OsStr, CStr) #45008
Labels
C-feature-accepted
Category: A feature request that has been accepted pending implementation.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Conversions for
Rc<str>
,Arc<str>
,Rc<[T]>
, andArc<[T]>
were added in #42565, but it is still not possible to make a shared container for other string-like types - you still need to use double allocated containers likeRc<PathBuf>
. It looks like the only types this is missing for arePath
,OsStr
, andCStr
.The text was updated successfully, but these errors were encountered: