nushell/crates/nu-command/src/help
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
..
help_.rs Apply nightly clippy lints (#9654) 2023-07-12 00:00:31 +02:00
help_aliases.rs Replace &Span with Span since Span is Copy (#9770) 2023-07-31 21:47:46 +02:00
help_commands.rs Break up interdependencies of command crates (#9429) 2023-06-14 23:12:55 +02:00
help_externs.rs Break up interdependencies of command crates (#9429) 2023-06-14 23:12:55 +02:00
help_modules.rs Break up interdependencies of command crates (#9429) 2023-06-14 23:12:55 +02:00
help_operators.rs Break up interdependencies of command crates (#9429) 2023-06-14 23:12:55 +02:00
mod.rs Break up interdependencies of command crates (#9429) 2023-06-14 23:12:55 +02:00