From e553c0fc22ae99251d3954ae248216ec9bf68e3f Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Tue, 18 Aug 2026 13:22:04 +0800 Subject: feat: remove redundant reference in completion handler --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 15a72d6..5a57f30 100644 --- a/index.html +++ b/index.html @@ -1289,7 +1289,7 @@ pub fn hello() { /* ... */ } pub fn bye() { /* ... */ } #[completion(EntryHello)] -pub fn complete_hello(ctx: &ShellContext) -> Suggest { +pub fn complete_hello(ctx: ShellContext) -> Suggest { if ctx.previous_word == "hello" { suggest! { "Alice": "The Sender", -- cgit