nushell/crates/nu_plugin_query/src
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
..
nu allow tables to have annotations (#9613) 2023-07-07 11:06:09 +02:00
lib.rs query command with json, web, xml (#870) 2022-02-01 12:45:48 -06:00
main.rs Bump to 0.60 (#4892) 2022-03-23 07:32:03 +13:00
query_json.rs Replace &Span with Span since Span is Copy (#9770) 2023-07-31 21:47:46 +02:00
query_web.rs Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
query_xml.rs Replace &Span with Span since Span is Copy (#9770) 2023-07-31 21:47:46 +02:00
query.rs Parameter defaults to $nu.scope.commands (#9152) 2023-05-11 13:59:56 -05:00
web_tables.rs revert: move to ahash (#9464) 2023-06-18 15:27:57 +12:00