From 8422e0ada52d8036c32257d84f069776e520079e Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 3 May 2026 01:31:04 +0800 Subject: Add missing articles and improve documentation --- mingling_core/src/asset/comp.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mingling_core/src/asset/comp.rs') diff --git a/mingling_core/src/asset/comp.rs b/mingling_core/src/asset/comp.rs index c1c7ab5..a6299e1 100644 --- a/mingling_core/src/asset/comp.rs +++ b/mingling_core/src/asset/comp.rs @@ -33,6 +33,11 @@ pub trait CompletionEntry { fn get_input(self) -> Vec; } +/// A helper struct for handling command-line completion logic. +/// +/// This struct provides static methods for executing completions based on +/// the current shell context and rendering the resulting suggestions in a +/// format appropriate for the target shell. pub struct CompletionHelper; impl CompletionHelper { pub fn exec_completion

(ctx: &ShellContext) -> Suggest -- cgit