Skip to content

Commit

Permalink
Update Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
ar37-rs committed Apr 1, 2022
1 parent 36b8ee5 commit 0704f48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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 = "flowync"
version = "2.0.5"
version = "2.0.6"
authors = ["Ar37-rs <[email protected]>"]
edition = "2018"
description = "A simple utility for multithreading a/synchronization"
Expand Down
6 changes: 3 additions & 3 deletions examples/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ fn main() {
// or handle.send_async(i).await; can be used from any multithreaded async runtime,

// // Return error if the job is failure, for example:
if i >= 3 {
return handle.err("Err");
}
// if i >= 3 {
// return handle.err("Err");
// }
}
// And return ok if the job successfully completed.
return handle.ok("Ok".to_string());
Expand Down

0 comments on commit 0704f48

Please sign in to comment.