diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-24 12:01:38 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-24 12:01:38 +0800 |
| commit | 1d1baf75a3acb5eb32913a8bdad42bae42844aa2 (patch) | |
| tree | 5dafbcbce48a5de3c61bba0c7d309e97dd80b1ce /examples/example-repl-basic | |
| parent | addfbbf0b33a6251605990da73c2de5131766827 (diff) | |
Redesign hook system with structured info types and ProgramControls
Diffstat (limited to 'examples/example-repl-basic')
| -rw-r--r-- | examples/example-repl-basic/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example-repl-basic/src/main.rs b/examples/example-repl-basic/src/main.rs index abea141..8df8c22 100644 --- a/examples/example-repl-basic/src/main.rs +++ b/examples/example-repl-basic/src/main.rs @@ -65,7 +65,7 @@ fn main() { })); // Add hooks to handle REPL-related events - program.with_hook(ProgramHook::empty().on_repl_begin(|| { + program.with_hook(ProgramHook::empty().on_repl_begin(|_| { // Print welcome message println!("Welcome!"); })); |
