invenia / invenia/std-semaphore

Can't be used with `no_panic` crate

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
8
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Hi,

is there any way not to `.unwrap()` anything in this library?
Currently, I cannot apply the [no_panic](https://docs.rs/no-panic/latest/no_panic/) crate because `acquire()` and `release()` both call `*self.lock.lock().unwrap()`, and this might panic.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.