1
0
mirror of https://github.com/nushell/nushell.git synced 2025-08-13 23:08:43 +02:00
Files
.cargo
.githooks
.github
assets
benches
crates
nu-cli
nu-cmd-base
nu-cmd-dataframe
nu-cmd-extra
nu-cmd-lang
nu-color-config
nu-command
nu-engine
nu-explore
nu-glob
nu-json
nu-parser
nu-path
nu-plugin
nu-pretty-hex
nu-protocol
nu-std
nu-system
nu-table
nu-term-grid
nu-test-support
nu-utils
nu_plugin_custom_values
nu_plugin_example
nu_plugin_formats
nu_plugin_gstat
nu_plugin_inc
nu_plugin_python
nu_plugin_query
src
nu
lib.rs
main.rs
query.rs
query_json.rs
query_web.rs
query_xml.rs
web_tables.rs
Cargo.toml
README.md
README.md
docker
scripts
src
tests
wix
.gitattributes
.gitignore
.typos.toml
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Cargo.lock
Cargo.toml
Cross.toml
LICENSE
README.md
codecov.yml
rust-toolchain.toml
toolkit.nu
nushell/crates/nu_plugin_query/src
Ian Manske 583ef8674e Replace &Span with Span since Span is Copy ()
# 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
..
2022-03-23 07:32:03 +13:00
2023-06-18 15:27:57 +12:00