diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-06 23:16:51 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-06 23:16:51 +0800 |
| commit | 81635b93c597b10282cb14e0873f5e3d22395186 (patch) | |
| tree | 200fd2632653fefe751ab5bfa6ebc7a8d4161638 /examples/example-repl-basic | |
| parent | a16d1e6f204cc83104ad3dcc4f4266e304214044 (diff) | |
Rename `ExitCode` to `ResExitCode` and `REPL` to `ResREPL`
Diffstat (limited to 'examples/example-repl-basic')
| -rw-r--r-- | examples/example-repl-basic/src/main.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/example-repl-basic/src/main.rs b/examples/example-repl-basic/src/main.rs index d44c92a..abea141 100644 --- a/examples/example-repl-basic/src/main.rs +++ b/examples/example-repl-basic/src/main.rs @@ -10,8 +10,9 @@ use mingling::{ hook::ProgramHook, prelude::*, + res::ResREPL, setup::{BasicREPLOutputSetup, BasicREPLPromptSetup, BasicREPLReadlineSetup}, - this, REPL, + this, }; use std::{env::current_dir, path::PathBuf}; @@ -145,7 +146,7 @@ fn render_list(list: ResultList) { #[chain] fn handle_exit( _prev: EntryExit, - repl: &mut REPL, // Import REPL resource, registered in `exec_repl`, usable directly + repl: &mut ResREPL, // Import REPL resource, registered in `exec_repl`, usable directly ) { // Set the REPL exit flag; REPL will exit after this loop iteration repl.exit = true; |
