v1.1.3
This release is a patch release that adds a single new API: ArcStr::try_alloc(s: &str) -> Option<ArcStr>
1, which exists to allow copying a &str
into a new ArcStr
, failing (returning None
) if allocation fails for some reason.
-
This is a pretty niche use case, and the name is somewhat dodgy, but makes it very clear what the failure case was. ↩