Skip to content

Commit

Permalink
grammer
Browse files Browse the repository at this point in the history
Signed-off-by: Teo Koon Peng <[email protected]>
  • Loading branch information
koonpeng committed Jan 3, 2025
1 parent 6d8340f commit cf121ea
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/diagram.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ pub enum DiagramOperation {
/// Signifies the end of a workflow. There must be exactly 1 terminate operation in a diagram.
Terminate(TerminateOp),

/// Connects the request to a registered node.
/// Connect the request to a registered node.
///
/// ```
/// # bevy_impulse::Diagram::from_json_str(r#"
Expand Down Expand Up @@ -161,7 +161,7 @@ pub enum DiagramOperation {
/// # Ok::<_, serde_json::Error>(())
ForkResult(ForkResultOp),

/// If the request is a list-like or map-like object, splits it into multiple responses.
/// If the request is a list-like or map-like object, split it into multiple responses.
///
/// # Examples
/// ```
Expand All @@ -186,7 +186,7 @@ pub enum DiagramOperation {
/// ```
Split(SplitOp),

/// Waits for an item to be emitted from each of the inputs, then combined the
/// Wait for an item to be emitted from each of the inputs, then combined the
/// oldest of each into an array.
///
/// # Examples
Expand Down Expand Up @@ -226,7 +226,7 @@ pub enum DiagramOperation {
/// ```
Join(JoinOp),

/// If the request is serializable, transforms it by running it through a [CEL](https://cel.dev/) program.
/// If the request is serializable, transform it by running it through a [CEL](https://cel.dev/) program.
/// The context includes a "request" variable which contains the request.
///
/// # Examples
Expand Down Expand Up @@ -280,7 +280,7 @@ pub enum DiagramOperation {
/// ```
Transform(TransformOp),

/// Drops the request, equivalent to a no-op.
/// Drop the request, equivalent to a no-op.
Dispose,
}

Expand Down

0 comments on commit cf121ea

Please sign in to comment.