]> git.nega.tv - josh/narcissus/commit
Improve API of `ManualArc`
authorJoshua Simmons <josh@nega.tv>
Sun, 2 Oct 2022 11:26:06 +0000 (13:26 +0200)
committerJoshua Simmons <josh@nega.tv>
Sun, 2 Oct 2022 11:26:06 +0000 (13:26 +0200)
commitde163ac0a0865bb83ba2d11fdbe178c9dbe8d1f3
treeb7f0133152ad81ad1e174c92234fd01b76479403
parent02434398b0e77c4172b8fdbe5e0389b233404868
Improve API of `ManualArc`

Consume the ManualArc when calling `release` to avoid needing to handle
double-free. Avoids unsafety in user code (was only protected by a debug
assert before)

Add some very basic documentation.
narcissus-core/src/manual_arc.rs