You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2024/10/05 02:44:22 UTC

(opendal) branch main updated: chore: fix typos in tokio_executor.rs (#5157)

This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new 865fe58fdc chore: fix typos in tokio_executor.rs (#5157)
865fe58fdc is described below

commit 865fe58fdc123149687ef6cfad7cb04c5eff0980
Author: tison <wa...@gmail.com>
AuthorDate: Sat Oct 5 10:44:16 2024 +0800

    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 fb9b3b6643..313384c720 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))
     }
 }