nushell/crates/nu-json/src
johnny-byte bd096430cb
remove extra allocation from nu-json (#8299)
# Description

Remove unnecessary memory allocation

# User-Facing Changes

None

# Tests + Formatting

Don't forget to add tests that cover your changes.

Make sure you've run and fixed any issues with these commands:

- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass

# After Submitting

If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.

Co-authored-by: None <>
2023-03-03 17:01:56 -08:00
..
builder.rs Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00
de.rs Apply more recent/nightly clippy lints (#7916) 2023-01-30 14:06:36 +01:00
error.rs Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
lib.rs Adds tab indentation option for JSON files. (#4705) 2022-03-03 13:15:13 -05:00
ser.rs remove extra allocation from nu-json (#8299) 2023-03-03 17:01:56 -08:00
util.rs Remove 🆖 comments (#7877) 2023-01-27 08:48:31 -05:00
value.rs Address lints from clippy for beta/nightly (#5709) 2022-06-04 18:47:36 +12:00