nushell/crates/nu-command/src/strings
Ian Manske 583ef8674e
Replace &Span with Span since Span is Copy (#9770)
# Description
`Span` is `Copy`, so we probably should not be passing references of
`Span` around. This PR replaces all instances of `&Span` with `Span`,
copying spans where necessary.

# User-Facing Changes
This alters some public functions to take `Span` instead of `&Span` as
input. Namely, `EngineState::get_span_contents`,
`nu_protocol::extract_value`, a bunch of the math commands, and
`Gstat::gstat`.
2023-07-31 21:47:46 +02:00
..
encode_decode Remove Signature.vectorizes_over_list entirely (#9777) 2023-07-26 23:34:43 +02:00
split Fix signature of split row (#9829) 2023-07-27 21:32:25 +02:00
str_ str-expand: add path flag (#9856) 2023-07-31 07:48:29 -05:00
char_.rs Replace &Span with Span since Span is Copy (#9770) 2023-07-31 21:47:46 +02:00
detect_columns.rs fix #9653 the cmd detect columns with the flag -c (#9667) 2023-07-21 08:25:06 -05:00
mod.rs REFACTOR: move the 0% commands to nu-cmd-extra (#9404) 2023-07-06 08:31:31 -07:00
parse.rs Input output checking (#9680) 2023-07-14 15:20:35 +12:00
size.rs Box ShellError in Value::Error (#8375) 2023-03-12 09:57:27 +01:00