mirror of
https://github.com/nushell/nushell.git
synced 2024-11-25 01:43:47 +01:00
b2cab3274b
# Description This PR fixes #13732. However, I don't think it's a proper fix. 1. It doesn't really show what the problem is. 2. It kind of side-steps the error entirely. I do think the change in span.rs may be valid because I don't think span.end should ever be 0. In the example in 13732 the span end was always 0 and so that made contains_span() return true, which seems like a false positive. The `checked_sub()` in ide.rs kind of just stops it from failing outloud. I'll leave it to smarter folks than me to land this if they think it's worthy. |
||
---|---|---|
.. | ||
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.