From 0704f4805216aefa1dc8fb67a91ce7ebda8c381e Mon Sep 17 00:00:00 2001 From: Ar37-rs Date: Fri, 1 Apr 2022 17:42:03 +0700 Subject: [PATCH] Update Cargo.toml --- Cargo.toml | 2 +- examples/main.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c2d528f..bc49403 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "flowync" -version = "2.0.5" +version = "2.0.6" authors = ["Ar37-rs "] edition = "2018" description = "A simple utility for multithreading a/synchronization" diff --git a/examples/main.rs b/examples/main.rs index a8e54c3..850badb 100644 --- a/examples/main.rs +++ b/examples/main.rs @@ -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());