nushell/crates/nu-cli/src/completions
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
..
base.rs Add MatchAlgorithm for completion suggestions (#5244) 2022-04-23 10:01:19 -05:00
command_completions.rs Remove some unnecessary static Vecs (#11947) 2024-02-24 20:58:01 +01:00
completer.rs Remove some unnecessary static Vecs (#11947) 2024-02-24 20:58:01 +01:00
completion_common.rs colored file-like completions (#11702) 2024-02-08 14:29:28 -06:00
completion_options.rs Refactor and fix Config<->Value mechanism (#10896) 2023-11-08 20:31:30 +01:00
custom_completions.rs Name the Value conversion functions more clearly (#11851) 2024-02-17 18:14:16 +00:00
directory_completions.rs colored file-like completions (#11702) 2024-02-08 14:29:28 -06:00
dotnu_completions.rs Name the Value conversion functions more clearly (#11851) 2024-02-17 18:14:16 +00:00
file_completions.rs colored file-like completions (#11702) 2024-02-08 14:29:28 -06:00
flag_completions.rs update nu-ansi-term to 0.50, lscolors to 0.17, and add the Style attribute to Suggestion (#11635) 2024-01-24 20:57:15 -08:00
mod.rs refactor: inline fn partial_from in completer (#10705) 2023-10-13 17:57:19 +02:00
variable_completions.rs update nu-ansi-term to 0.50, lscolors to 0.17, and add the Style attribute to Suggestion (#11635) 2024-01-24 20:57:15 -08:00