nushell/crates/nu_plugin_query
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
..
src Replace &Span with Span since Span is Copy (#9770) 2023-07-31 21:47:46 +02:00
Cargo.toml bump to dev version 0.83.2 (#9866) 2023-07-30 22:16:57 +02:00
README.md remove the --encoding option from register in the examples (#8038) 2023-02-11 13:13:40 +00:00

Query plugin for Nushell

Note: this requires Nushell 0.60 or later

To install:

> cargo install --path .

To register (from inside Nushell):

> register <path to installed plugin>