nushell/crates/nu-command/src/math
JT fa113172da
Fix clippy warnings (upcoming) (#9282)
# Description

Fixes the clippy warnings we're about to get hit with next time we
upgrade Rust.

The big one was shrinking ShellError and related under 128 bytes.

# User-Facing Changes

Shouldn't notice much difference. In theory, we could see a tiny perf
improvement, but I didn't notice one.

# 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 -A clippy::result_large_err` to check that
you're using the standard code style
- `cargo test --workspace` to check that all tests pass
- `cargo run -- crates/nu-std/tests/run.nu` 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-05-25 10:58:18 +12:00
..
abs.rs Box ShellError in Value::Error (#8375) 2023-03-12 09:57:27 +01:00
arccos.rs Box ShellError in Value::Error (#8375) 2023-03-12 09:57:27 +01:00
arccosh.rs Box ShellError in Value::Error (#8375) 2023-03-12 09:57:27 +01:00
arcsin.rs Box ShellError in Value::Error (#8375) 2023-03-12 09:57:27 +01:00
arcsinh.rs Box ShellError in Value::Error (#8375) 2023-03-12 09:57:27 +01:00
arctan.rs Box ShellError in Value::Error (#8375) 2023-03-12 09:57:27 +01:00
arctanh.rs Box ShellError in Value::Error (#8375) 2023-03-12 09:57:27 +01:00
avg.rs Uniformize usage() and extra_usage() message ending for commands helper. (#8268) 2023-02-28 21:33:02 -08:00
ceil.rs Box ShellError in Value::Error (#8375) 2023-03-12 09:57:27 +01:00
cos.rs Box ShellError in Value::Error (#8375) 2023-03-12 09:57:27 +01:00
cosh.rs Box ShellError in Value::Error (#8375) 2023-03-12 09:57:27 +01:00
euler.rs Use imported names in Command::run signatures (#7967) 2023-02-05 22:17:46 +01:00
exp.rs Add math exp command (issue #8661) (#8700) 2023-04-01 12:53:58 +02:00
floor.rs Box ShellError in Value::Error (#8375) 2023-03-12 09:57:27 +01:00
ln.rs Box ShellError in Value::Error (#8375) 2023-03-12 09:57:27 +01:00
log.rs Box ShellError in Value::Error (#8375) 2023-03-12 09:57:27 +01:00
math_.rs Use imported names in Command::run signatures (#7967) 2023-02-05 22:17:46 +01:00
max.rs Uniformize usage() and extra_usage() message ending for commands helper. (#8268) 2023-02-28 21:33:02 -08:00
median.rs Fix clippy warnings (upcoming) (#9282) 2023-05-25 10:58:18 +12:00
min.rs Uniformize usage() and extra_usage() message ending for commands helper. (#8268) 2023-02-28 21:33:02 -08:00
mod.rs Add math exp command (issue #8661) (#8700) 2023-04-01 12:53:58 +02:00
mode.rs Fix clippy warnings (upcoming) (#9282) 2023-05-25 10:58:18 +12:00
pi.rs Use imported names in Command::run signatures (#7967) 2023-02-05 22:17:46 +01:00
product.rs Uniformize usage() and extra_usage() message ending for commands helper. (#8268) 2023-02-28 21:33:02 -08:00
reducers.rs Fix clippy warnings (upcoming) (#9282) 2023-05-25 10:58:18 +12:00
round.rs Fix negative precision round with ints (issue #9049) (#9073) 2023-05-03 23:07:32 +02:00
sin.rs Box ShellError in Value::Error (#8375) 2023-03-12 09:57:27 +01:00
sinh.rs Box ShellError in Value::Error (#8375) 2023-03-12 09:57:27 +01:00
sqrt.rs Box ShellError in Value::Error (#8375) 2023-03-12 09:57:27 +01:00
stddev.rs Uniformize usage() and extra_usage() message ending for commands helper. (#8268) 2023-02-28 21:33:02 -08:00
sum.rs Uniformize usage() and extra_usage() message ending for commands helper. (#8268) 2023-02-28 21:33:02 -08:00
tan.rs Box ShellError in Value::Error (#8375) 2023-03-12 09:57:27 +01:00
tanh.rs Box ShellError in Value::Error (#8375) 2023-03-12 09:57:27 +01:00
tau.rs Update few examples of math commands (#7987) 2023-02-06 13:43:00 +01:00
utils.rs Box ShellError in Value::Error (#8375) 2023-03-12 09:57:27 +01:00
variance.rs Box ShellError in Value::Error (#8375) 2023-03-12 09:57:27 +01:00