Try out having pipelinedata helpers collect rawstreams before they apply functions. This fixes up str trim for me, and might be worth a try for nushell/engine-q#968 and similar.
cc @fdncred
Tests
Make sure you've run and fixed any issues with these commands:
[x] cargo fmt --all -- --check to check standard code formatting (cargo fmt --all applies these changes)
[x] cargo clippy --all --all-features -- -D warnings -D clippy::unwrap_used -A clippy::needless_collect to check that you're using the standard code style
[x] cargo build; cargo test --all --all-features to check that all the tests pass
Description
Try out having pipelinedata helpers collect rawstreams before they apply functions. This fixes up
str trim
for me, and might be worth a try for nushell/engine-q#968 and similar.cc @fdncred
Tests
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 --all --all-features -- -D warnings -D clippy::unwrap_used -A clippy::needless_collect
to check that you're using the standard code stylecargo build; cargo test --all --all-features
to check that all the tests pass