diff options
Diffstat (limited to 'examples/example-basic/src')
| -rw-r--r-- | examples/example-basic/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example-basic/src/main.rs b/examples/example-basic/src/main.rs index 944a914..79853ad 100644 --- a/examples/example-basic/src/main.rs +++ b/examples/example-basic/src/main.rs @@ -26,7 +26,7 @@ pack!(Hello = String); // Register chain to `ThisProgram`, handling logic from `HelloEntry` #[chain] -fn parse_name(prev: HelloEntry) -> ChainProcess<ThisProgram> { +fn parse_name(prev: HelloEntry) -> NextProcess { // Extract string from `HelloEntry` as argument let name = prev.first().cloned().unwrap_or_else(|| "World".to_string()); |
