mirror of
https://github.com/nushell/nushell
synced 2024-12-27 21:43:09 +00:00
b9419e0f36
# Description Fixes #7800 . `to csv` and `to tsv` no longer: - accept anything but records and tables as input, - accept lists that are not tables, - accept tables and records with values that are not primitives (other lists, tables and records). # User-Facing Changes Using `to csv` and `to tsv` on any of inputs mentioned above will result in `cant_convert` error. # 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: Stefan Holderbach <sholderbach@users.noreply.github.com> |
||
---|---|---|
.. | ||
bson.rs | ||
csv.rs | ||
eml.rs | ||
html.rs | ||
ics.rs | ||
json.rs | ||
markdown.rs | ||
mod.rs | ||
nuon.rs | ||
ods.rs | ||
ssv.rs | ||
toml.rs | ||
tsv.rs | ||
url.rs | ||
vcf.rs | ||
xlsx.rs | ||
xml.rs | ||
yaml.rs |