Update inquire.rs

This commit is contained in:
Shunsuke Shibayama 2024-02-15 15:09:53 +09:00
parent a876d2e583
commit ac3023c779

View file

@ -2171,10 +2171,7 @@ impl Context {
&param_t,
&arg_t,
self.get_candidates(&arg_t),
e.core
.get_hint()
.map(|s| s.to_string())
.or(std::mem::take(&mut hint)),
std::mem::take(&mut hint),
)
})
.collect(),