nushell/crates/nu-table/src
Darren Schroeder 80bee40807
optimize/clean up a few of the table changes (#11076)
# Description

@sholderbach pointed out some places that I could help improve the code
in the table command changes. This PR tries to implement those.

# User-Facing Changes
<!-- List of all changes that impact the user experience here. This
helps us keep track of breaking changes. -->

# 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` to
check that you're using the standard code style
- `cargo test --workspace` to check that all tests pass (on Windows make
sure to [enable developer
mode](https://learn.microsoft.com/en-us/windows/apps/get-started/developer-mode-features-and-debugging))
- `cargo run -- -c "use std testing; testing run-tests --path
crates/nu-std"` to run the tests for the standard library

> **Note**
> from `nushell` you can also use the `toolkit` as follows
> ```bash
> use toolkit.nu # or use an `env_change` hook to activate it
automatically
> toolkit check pr
> ```
-->

# 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.
-->
2023-11-16 11:37:46 -06:00
..
types Fix #11047 (#11054) 2023-11-16 05:28:54 -06:00
common.rs optimize/clean up a few of the table changes (#11076) 2023-11-16 11:37:46 -06:00
lib.rs Add an option to set header on border (style) (#9920) 2023-08-04 13:50:47 -05:00
table_theme.rs Update crates-ci/typos and fix new typos (#10313) 2023-09-11 12:37:06 +02:00
table.rs nu-table: Fix expand table unnessary color in trail head config when wrap is used (#10367) 2023-09-15 11:44:53 -05:00
unstructured_table.rs Refactor table cmd and nu-table with Record API (#10930) 2023-11-08 01:22:47 +01:00
util.rs nu-table: Fix expand table unnessary color in trail head config when wrap is used (#10367) 2023-09-15 11:44:53 -05:00