nushell/crates/nu-command
Antoine Stevan fe9f732c5f
REFACTOR: make input list a tiny bit tighter (#9115)
related to #8963
cc/ @melMass 

# Description
just a little refactoring attempt for `input list` 😌 

i wanted to refactor even more, but `Select`, `MultiSelect` and
`FuzzySelect` do not share a common trait, i could not find a nice way
to reduce the big `if` block...

# User-Facing Changes
```
$nothing
```

# Tests + Formatting
- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
-  `toolkit test`
-  `toolkit test stdlib`

# After Submitting
```
$nothing
```
2023-05-08 12:45:55 -05:00
..
assets refactor html module (#5246) 2022-04-20 08:50:14 -05:00
src REFACTOR: make input list a tiny bit tighter (#9115) 2023-05-08 12:45:55 -05:00
tests Fix negative precision round with ints (issue #9049) (#9073) 2023-05-03 23:07:32 +02:00
Cargo.toml Update polars to 0.28 (#9136) 2023-05-08 10:42:53 -05:00
LICENSE Fix rest of license year ranges (#8727) 2023-04-04 09:03:29 +12:00