nushell/crates/nu-command
Devyn Cairns 5c7f7883c8
Add ErrSpan extension trait for Result (#12626)
# Description
This adds an extension trait to `Result` that wraps errors in `Spanned`,
saving the effort of calling `.map_err(|err| err.into_spanned(span))`
every time. This will hopefully make it even more likely that someone
will want to use a spanned `io::Error` and make it easier to remove the
impl for `From<io::Error> for ShellError` because that doesn't have span
information.
2024-04-23 10:39:55 +02:00
..
src Add ErrSpan extension trait for Result (#12626) 2024-04-23 10:39:55 +02:00
tests Make the same file error more likely to appear (#12601) 2024-04-22 01:12:13 +00:00
Cargo.toml create nuon crate from from nuon and to nuon (#12553) 2024-04-19 13:54:16 +02:00
LICENSE Fix rest of license year ranges (#8727) 2023-04-04 09:03:29 +12:00