nushell/crates/nu-protocol/src/config
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
..
completer.rs Refactor and fix Config<->Value mechanism (#10896) 2023-11-08 20:31:30 +01:00
helper.rs Convert Shellerror::GenericError to named fields (#11230) 2023-12-07 00:40:03 +01:00
hooks.rs Convert more ShellError variants to named fields (#11222) 2023-12-04 10:19:32 +01:00
mod.rs Convert Shellerror::GenericError to named fields (#11230) 2023-12-07 00:40:03 +01:00
output.rs Refactor and fix Config<->Value mechanism (#10896) 2023-11-08 20:31:30 +01:00
reedline.rs Refactor and fix Config<->Value mechanism (#10896) 2023-11-08 20:31:30 +01:00
table.rs Convert Shellerror::GenericError to named fields (#11230) 2023-12-07 00:40:03 +01:00