mirror of
https://github.com/nushell/nushell.git
synced 2025-04-01 11:46:20 +02:00
# 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`. |
||
---|---|---|
.. | ||
call_info.rs | ||
capture_block.rs | ||
command.rs | ||
engine_state.rs | ||
mod.rs | ||
overlay.rs | ||
pattern_match.rs | ||
stack.rs |