nushell/crates/nu-protocol
Eric Hodel a95a4505ef
Convert Shellerror::GenericError to named fields (#11230)
# Description

Replace `.to_string()` used in `GenericError` with `.into()` as
`.into()` seems more popular

Replace `Vec::new()` used in `GenericError` with `vec![]` as `vec![]`
seems more popular

(There are so, so many)
2023-12-07 00:40:03 +01:00
..
src Convert Shellerror::GenericError to named fields (#11230) 2023-12-07 00:40:03 +01:00
tests Explicitly indicate duplicate flags (#11226) 2023-12-04 22:06:27 +08:00
Cargo.toml Build nu-protocol docs with all features enabled (#11180) 2023-11-29 16:17:22 +01:00
LICENSE Fix rest of license year ranges (#8727) 2023-04-04 09:03:29 +12:00
README.md Add nu-protocol 2021-09-02 13:29:43 +12:00

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.