aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/src/comp.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-08-10 16:16:31 +0800
committer魏曹先生 <1992414357@qq.com>2026-08-10 16:16:31 +0800
commit61b770ca958afa7e5eca4c50f5e06bdf3ed7a94a (patch)
treeddc08d59e2c4e3f3ecfc431204635e0965ba544b /mingling_core/src/comp.rs
parentdeece0c28aa02b9a09d6e0a9912227330aa16a6f (diff)
refactor(asset): replace wildcard match with explicit variants
Diffstat (limited to 'mingling_core/src/comp.rs')
-rw-r--r--mingling_core/src/comp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mingling_core/src/comp.rs b/mingling_core/src/comp.rs
index 7312a06..f2e50c8 100644
--- a/mingling_core/src/comp.rs
+++ b/mingling_core/src/comp.rs
@@ -183,7 +183,7 @@ impl CompletionHelper {
let default = default_completion::<P>(ctx);
match fallback {
Suggest::FileCompletion => default,
- _ => fallback.combine(default),
+ Suggest::Suggest(_) => fallback.combine(default),
}
}
},