Skip to content

v1.1.3

Compare
Choose a tag to compare
@thomcc thomcc released this 02 Jan 13:02
· 36 commits to main since this release
v1.1.3
8990b5e

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.

  1. This is a pretty niche use case, and the name is somewhat dodgy, but makes it very clear what the failure case was.