mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-28 12:14:43 +00:00
Update inquire.rs
This commit is contained in:
parent
a876d2e583
commit
ac3023c779
1 changed files with 1 additions and 4 deletions
|
@ -2171,10 +2171,7 @@ impl Context {
|
|||
¶m_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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue