From 92b1d3a2392b4328262873eda00ccb152e581fc9 Mon Sep 17 00:00:00 2001 From: Wang Qilin Date: Wed, 27 Dec 2023 16:53:01 +0800 Subject: [PATCH] Update README.md fix typo Signed-off-by: Wang Qilin --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5d746d4..614c0ef 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ Users need to program to implement the `Action` trait to define the specific log First, users need to define some specific task logic. There are two ways to define task logic: - Create a closure whose type is `Simple`, which is suitable for simple scenarios. -- Create a type and implement the `Complex` trait, which is suitable for more complex situations. For example, if the logic of the task is to execute a system command, the command string needs to be recorded in some way. You can create a `Commad` structure with a string attribute inside to store the command string. +- Create a type and implement the `Complex` trait, which is suitable for more complex situations. For example, if the logic of the task is to execute a system command, the command string needs to be recorded in some way. You can create a `Command` structure with a string attribute inside to store the command string. You can refer to examples:`examples/actions.rs`.