From 13fd3ad022bd3ce7ec337f80e4f0331d6c4e70c9 Mon Sep 17 00:00:00 2001 From: Haixuan Xavier Tao Date: Thu, 9 Mar 2023 10:46:06 +0100 Subject: [PATCH] Update docs/src/rust-api.md Co-authored-by: Philipp Oppermann --- docs/src/rust-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/rust-api.md b/docs/src/rust-api.md index 766d9c36..ffe7f26e 100644 --- a/docs/src/rust-api.md +++ b/docs/src/rust-api.md @@ -4,7 +4,7 @@ The operator API is a framework for you to implement. The implemented operator will be managed by `dora`. This framework enable us to make optimisation and provide advanced features. It is the recommended way of using `dora`. -An operator requires to be registered and implement the `DoraOperator` trait. It is composed of an `on_event` method that defines the behaviour of the operator when there is an event such as receiving an input for exemple. +An operator requires to be registered and implement the `DoraOperator` trait. It is composed of an `on_event` method that defines the behaviour of the operator when there is an event such as receiving an input for example. ```rust {{#include ../../examples/rust-dataflow/operator/src/lib.rs:0:17}}