nushell/crates/nu-command/src/formats/to
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
..
command.rs Uniformize usage() and extra_usage() message ending for commands helper. (#8268) 2023-02-28 21:33:02 -08:00
csv.rs Document and critically review ShellError variants - Ep. 2 (#8326) 2023-03-06 11:31:07 +01:00
delimited.rs Replace &Span with Span since Span is Copy (#9770) 2023-07-31 21:47:46 +02:00
json.rs Add pattern matching (#8590) 2023-03-24 14:52:01 +13:00
md.rs REFACTOR: move the 0% commands to nu-cmd-extra (#9404) 2023-07-06 08:31:31 -07:00
mod.rs REFACTOR: move the 0% commands to nu-cmd-extra (#9404) 2023-07-06 08:31:31 -07:00
nuon.rs Apply nightly clippy fixes (#9482) 2023-06-20 10:17:33 +02:00
text.rs Add pattern matching (#8590) 2023-03-24 14:52:01 +13:00
toml.rs Replace &Span with Span since Span is Copy (#9770) 2023-07-31 21:47:46 +02:00
tsv.rs Uniformize usage() and extra_usage() message ending for commands helper. (#8268) 2023-02-28 21:33:02 -08:00
xml.rs Apply nightly clippy lints (#9654) 2023-07-12 00:00:31 +02:00
yaml.rs Add pattern matching (#8590) 2023-03-24 14:52:01 +13:00