diff options
| author | Weicao-CatilGrass <1992414357@qq.com> | 2026-05-17 22:30:50 +0800 |
|---|---|---|
| committer | Weicao-CatilGrass <1992414357@qq.com> | 2026-05-17 22:38:39 +0800 |
| commit | f27f5aeb09616b932ab48f0905994879dd8bafe5 (patch) | |
| tree | 2deea67f7ed910ad824fbcce2330ab5c475e51a0 /examples/example-resources/src | |
| parent | bdd736ad9899aed74aaa2760c6e068dcae0e6925 (diff) | |
Rename `NextProcess` to `Next` across the codebase
Diffstat (limited to 'examples/example-resources/src')
| -rw-r--r-- | examples/example-resources/src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/example-resources/src/main.rs b/examples/example-resources/src/main.rs index 63ebfe6..9d8dde6 100644 --- a/examples/example-resources/src/main.rs +++ b/examples/example-resources/src/main.rs @@ -35,7 +35,7 @@ pack!(ResultCurrentDir = PathBuf); fn setup( _prev: SetupEntry, resource: &mut MyResource, // Import the resource into `setup` -) -> NextProcess { +) -> Next { // Set the global resource resource.current_dir = current_dir().unwrap(); @@ -43,7 +43,7 @@ fn setup( } #[chain] -fn read(_prev: StateRead, resource: &MyResource) -> NextProcess { +fn read(_prev: StateRead, resource: &MyResource) -> Next { // Read the global resource let current_dir = resource.current_dir.clone(); ResultCurrentDir::new(current_dir).to_render() |
