nushell/crates/nu-command/src/env
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
..
config Convert Shellerror::GenericError to named fields (#11230) 2023-12-07 00:40:03 +01:00
export_env.rs Use Vec for Closure captures (#10940) 2023-11-08 00:43:28 +01:00
load_env.rs Convert ShellError::UnsupportedInput to named fields (#10971) 2023-11-07 23:25:32 +01:00
mod.rs remove let-env, focus on mutating $env (#9574) 2023-07-01 07:57:51 +12:00
source_env.rs Convert FileNotFound to named fields (#11120) 2023-11-21 17:08:10 +08:00
with_env.rs Use Vec for Closure captures (#10940) 2023-11-08 00:43:28 +01:00