diff options
Diffstat (limited to 'mingling_core/src/asset/comp.rs')
| -rw-r--r-- | mingling_core/src/asset/comp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mingling_core/src/asset/comp.rs b/mingling_core/src/asset/comp.rs index c7fe719..40482fd 100644 --- a/mingling_core/src/asset/comp.rs +++ b/mingling_core/src/asset/comp.rs @@ -46,7 +46,7 @@ impl CompletionHelper { let program = this::<P>(); let args = ctx.all_words.iter().skip(1).cloned().collect::<Vec<_>>(); - let suggest = if let Some((dispatcher, args)) = match_user_input(program, args).ok() { + let suggest = if let Ok((dispatcher, args)) = match_user_input(program, args) { trace!( "dispatcher matched, dispatcher=\"{}\", args={:?}", dispatcher.node().to_string(), |
