nushell/crates/nu-protocol/src/engine
Eric Hodel a95a4505ef
Convert Shellerror::GenericError to named fields (#11230)
# Description

Replace `.to_string()` used in `GenericError` with `.into()` as
`.into()` seems more popular

Replace `Vec::new()` used in `GenericError` with `vec![]` as `vec![]`
seems more popular

(There are so, so many)
2023-12-07 00:40:03 +01:00
..
call_info.rs Back to working state 2021-09-03 06:21:37 +12:00
capture_block.rs Use Vec for Closure captures (#10940) 2023-11-08 00:43:28 +01:00
command.rs Invert &Options to Option<&T> (#10315) 2023-09-13 07:00:58 +08:00
engine_state.rs Convert Shellerror::GenericError to named fields (#11230) 2023-12-07 00:40:03 +01:00
mod.rs Split up nu-protocol/src/engine/engine_state.rs (#10368) 2023-09-21 22:53:36 +02:00
overlay.rs Use slices directly instead of &Vec (#10328) 2023-09-12 11:38:20 +08:00
pattern_match.rs Support pattern matching null literals (#10829) 2023-10-25 06:30:45 +08:00
stack.rs Convert Shellerror::GenericError to named fields (#11230) 2023-12-07 00:40:03 +01:00
state_delta.rs Split up nu-protocol/src/engine/engine_state.rs (#10368) 2023-09-21 22:53:36 +02:00
state_working_set.rs Implement LSP Text Document Synchronization (#10941) 2023-11-15 17:35:48 -06:00
usage.rs Split up nu-protocol/src/engine/engine_state.rs (#10368) 2023-09-21 22:53:36 +02:00