mirror of
https://github.com/nushell/nushell.git
synced 2025-06-08 19:17:16 +02:00
Hide overlay predecl logic
This commit is contained in:
parent
6be291b00a
commit
ea00d2b4d6
@ -207,7 +207,7 @@ impl<'a> StateWorkingSet<'a> {
|
|||||||
None
|
None
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn move_predecls_to_overlay(&mut self) {
|
fn move_predecls_to_overlay(&mut self) {
|
||||||
let predecls: HashMap<Vec<u8>, DeclId> =
|
let predecls: HashMap<Vec<u8>, DeclId> =
|
||||||
self.delta.last_scope_frame_mut().predecls.drain().collect();
|
self.delta.last_scope_frame_mut().predecls.drain().collect();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user