mirror of
https://github.com/nushell/nushell.git
synced 2025-02-21 21:11:49 +01:00
Fixes #15061 # User-Facing Changes Fixes panics when slicing empty input with inclusive ranges: ```nushell > random binary 0 | bytes at 0..0 Error: x Main thread panicked. |-> at crates/nu-protocol/src/value/range.rs:118:42 `-> attempt to subtract with overflow ``` |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml | ||
LICENSE | ||
README.md |
nu-protocol
The nu-protocol crate holds the definitions of structs/traits that are used throughout Nushell. This gives us one way to expose them to many other crates, as well as make these definitions available to each other, without causing mutually recursive dependencies.