mirror of
https://github.com/nushell/nushell.git
synced 2025-06-09 11:36:52 +02:00
Remove dead overlay code from EngineState
This commit is contained in:
parent
dfcc380512
commit
52e2007be9
@ -357,13 +357,6 @@ impl EngineState {
|
|||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn has_overlay(&self, name: &[u8]) -> bool {
|
|
||||||
self.scope
|
|
||||||
.overlays
|
|
||||||
.iter()
|
|
||||||
.any(|(overlay_name, _)| name == overlay_name)
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn active_overlay_ids<'a, 'b>(
|
pub fn active_overlay_ids<'a, 'b>(
|
||||||
&'b self,
|
&'b self,
|
||||||
removed_overlays: &'a [Vec<u8>],
|
removed_overlays: &'a [Vec<u8>],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user