nushell/crates/nu-command
Ian Manske c070e2d6f7
Make Value::columns return slice instead of cloned Vec (#9927)
# Description
This PR changes `Value::columns` to return a slice of columns instead of
cloning said columns. If the caller needs an owned copy, they can use
`slice::to_vec` or the like. This eliminates unnecessary Vec clones
(e.g., in `update cells`).

# User-Facing Changes
Breaking change for `nu_protocol` API.
2023-08-07 21:43:32 +02:00
..
src Make Value::columns return slice instead of cloned Vec (#9927) 2023-08-07 21:43:32 +02:00
tests Cratification: move some str case commands to nu-cmd-extra (#9926) 2023-08-06 06:40:44 -07:00
Cargo.toml str-expand: update bracoxide to v0.1.2, fixes #9913 (#9940) 2023-08-07 21:40:38 +02:00
LICENSE Fix rest of license year ranges (#8727) 2023-04-04 09:03:29 +12:00