nushell/crates/nu-cli/src
Stefan Holderbach 7884de1941
Remove some unnecessary static Vecs (#11947)
Avoid unnecessary allocations or larger iterator structs

- Turn static `Vec`s into arrays when possible
- Use `std::iter::once`/`empty` where applicable
- Use `bool::then_some` in `detect column` `.chain`
- Drop in the bucket: de-vec-ing tests
2024-02-24 20:58:01 +01:00
..
commands Specify which file not found in error (#11868) 2024-02-21 21:27:13 +08:00
completions Remove some unnecessary static Vecs (#11947) 2024-02-24 20:58:01 +01:00
menus Name the Value conversion functions more clearly (#11851) 2024-02-17 18:14:16 +00:00
config_files.rs Fix config creation during printing (#9353) 2023-06-04 22:04:28 +03:00
eval_cmds.rs Add Value::coerce_str (#11885) 2024-02-18 17:47:10 +01:00
eval_file.rs Name the Value conversion functions more clearly (#11851) 2024-02-17 18:14:16 +00:00
lib.rs Bump Reedline for the Menu Refactor (#11658) 2024-01-28 08:26:03 -08:00
nu_highlight.rs Name the Value conversion functions more clearly (#11851) 2024-02-17 18:14:16 +00:00
print.rs Fix incorrect handling of boolean flags for builtin commands (#11492) 2024-01-11 17:19:48 +02:00
prompt.rs fix shell integration markers (#11352) 2023-12-16 20:12:34 -06:00
prompt_update.rs Only run $env.PROMPT_COMMAND once per prompt (copy of #10986) (#11366) 2023-12-18 09:33:04 -06:00
reedline_config.rs Remove some unnecessary static Vecs (#11947) 2024-02-24 20:58:01 +01:00
repl.rs Handling errors instead of killing the REPL (#11953) 2024-02-24 15:26:06 +00:00
syntax_highlight.rs Support redirect stderr and stdout+stderr with a pipe (#11708) 2024-02-09 01:30:46 +08:00
util.rs Deprecate --flag: bool in custom command (#11365) 2023-12-21 10:07:08 +01:00
validation.rs Remove old alias implementation (#8797) 2023-04-07 21:09:38 +03:00