Skip to content

Commit

Permalink
Release jobslot v0.2.14 (#58)
Browse files Browse the repository at this point in the history
With removal of outdated comment

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
  • Loading branch information
NobodyXu authored Nov 16, 2023
1 parent 558315e commit 935fd76
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jobslot"
version = "0.2.13"
version = "0.2.14"
authors = ["Jiahao XU <Jiahao_XU@outlook.com>", "Alex Crichton <alex@alexcrichton.com>"]
license = "MIT/Apache-2.0"
repository = "https://github.com/cargo-bins/jobslot"
Expand Down
4 changes: 0 additions & 4 deletions src/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,10 +253,6 @@ impl Client {
}

pub fn release(&self, data: Option<&Acquired>) -> io::Result<()> {
// Note that the fd may be nonblocking but we're going to go ahead
// and assume that the writes here are always nonblocking (we can
// always quickly release a token).
//
// For write to block, this would mean that pipe is full.
// If all every release are pair with an acquire, then this cannot
// happen.
Expand Down

0 comments on commit 935fd76

Please sign in to comment.