nushell/crates/nu-cmd-lang/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
..
core_commands Remove some unnecessary static Vecs (#11947) 2024-02-24 20:58:01 +01:00
default_context.rs remove def-env and export def-env (#10999) 2023-11-19 23:25:09 +08:00
example_support.rs open, rm, umv, cp, rm and du: Don't globs if inputs are variables or string interpolation (#11886) 2024-02-23 09:17:09 +08:00
example_test.rs remove def-env and export def-env (#10999) 2023-11-19 23:25:09 +08:00
lib.rs cratification: Example support (#8231) 2023-02-27 13:58:56 -08:00