From 865fe58fdc123149687ef6cfad7cb04c5eff0980 Mon Sep 17 00:00:00 2001 From: tison Date: Sat, 5 Oct 2024 10:44:16 +0800 Subject: [PATCH] chore: fix typos in tokio_executor.rs (#5157) --- core/src/types/execute/executors/tokio_executor.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/types/execute/executors/tokio_executor.rs b/core/src/types/execute/executors/tokio_executor.rs index fb9b3b6643b..313384c7208 100644 --- a/core/src/types/execute/executors/tokio_executor.rs +++ b/core/src/types/execute/executors/tokio_executor.rs @@ -23,7 +23,7 @@ use crate::*; pub struct TokioExecutor {} impl Execute for TokioExecutor { - /// Tokio's JoinHandle has it's own `abort` support, so dropping handle won't cancel the task. + /// Tokio's JoinHandle has its own `abort` support, so dropping handle won't cancel the task. fn execute(&self, f: BoxedStaticFuture<()>) { let _handle = tokio::task::spawn(f); } @@ -54,7 +54,7 @@ mod tests { }); sleep(Duration::from_secs(2)).await; - // Task must has been finished even without await task. + // Task must have been finished even without await task. assert!(finished.load(Ordering::Relaxed)) } }