mirror of
https://github.com/nushell/nushell.git
synced 2024-11-24 17:34:00 +01:00
Remove unused field in StateWorkingSet
(#13387)
# Description Removes the unused `external_commands` field from `StateWorkingSet`.
This commit is contained in:
parent
fcb8e36caa
commit
1981c50c8f
@ -25,7 +25,6 @@ use crate::{PluginIdentity, PluginRegistryItem, RegisteredPlugin};
|
|||||||
pub struct StateWorkingSet<'a> {
|
pub struct StateWorkingSet<'a> {
|
||||||
pub permanent_state: &'a EngineState,
|
pub permanent_state: &'a EngineState,
|
||||||
pub delta: StateDelta,
|
pub delta: StateDelta,
|
||||||
pub external_commands: Vec<Vec<u8>>,
|
|
||||||
pub files: FileStack,
|
pub files: FileStack,
|
||||||
/// Whether or not predeclarations are searched when looking up a command (used with aliases)
|
/// Whether or not predeclarations are searched when looking up a command (used with aliases)
|
||||||
pub search_predecls: bool,
|
pub search_predecls: bool,
|
||||||
@ -46,7 +45,6 @@ impl<'a> StateWorkingSet<'a> {
|
|||||||
Self {
|
Self {
|
||||||
delta: StateDelta::new(permanent_state),
|
delta: StateDelta::new(permanent_state),
|
||||||
permanent_state,
|
permanent_state,
|
||||||
external_commands: vec![],
|
|
||||||
files,
|
files,
|
||||||
search_predecls: true,
|
search_predecls: true,
|
||||||
parse_errors: vec![],
|
parse_errors: vec![],
|
||||||
|
Loading…
Reference in New Issue
Block a user