nushell/crates/nu-command/src/math
Stefan Holderbach 6a7a60429f
Remove unnecessary #[allow(...)] annotations (#6870)
* Remove unnecessary `#[allow]` annots

Reduce the number of lint exceptions that are not necessary with the
current state of the code (or more recent toolchain)

* Remove dead code from `FileStructure` in nu-command

* Replace `allow(unused)` with relevant feature switch

* Deal with `needless_collect` with annotations

* Change hack for needless_collect in `from json`

This change obviates the need for `allow(needless_collect)`
Removes a pessimistic allocation for empty strings, but increases
allocation size to `Value`

Probably not really worth it.

* Revert "Deal with `needless_collect` with annotations"

This reverts commit 05aca98445.

The previous state seems to better from a performance perspective as a
`Vec<String>` is lighter weight than `Vec<Value>`
2022-10-24 20:12:16 +02:00
..
abs.rs Added search terms to math commands (#5224) 2022-04-19 09:33:32 +12:00
avg.rs Test command names and search terms for redundancy (#6380) 2022-08-24 11:16:47 +02:00
ceil.rs Test command names and search terms for redundancy (#6380) 2022-08-24 11:16:47 +02:00
eval.rs Added search terms to math commands (#5224) 2022-04-19 09:33:32 +12:00
floor.rs Test command names and search terms for redundancy (#6380) 2022-08-24 11:16:47 +02:00
math_.rs Rename some files (#952) 2022-02-05 12:35:02 -05:00
max.rs Added search terms to math commands (#5224) 2022-04-19 09:33:32 +12:00
median.rs Test command names and search terms for redundancy (#6380) 2022-08-24 11:16:47 +02:00
min.rs Added search terms to math commands (#5224) 2022-04-19 09:33:32 +12:00
mod.rs Rename some files (#952) 2022-02-05 12:35:02 -05:00
mode.rs Add search terms to 'math' commands (#5990) 2022-07-08 09:14:51 -05:00
product.rs Added search terms to math commands (#5224) 2022-04-19 09:33:32 +12:00
reducers.rs Remove unnecessary #[allow(...)] annotations (#6870) 2022-10-24 20:12:16 +02:00
round.rs Added search terms to math commands (#5224) 2022-04-19 09:33:32 +12:00
sqrt.rs Added search terms to math commands (#5224) 2022-04-19 09:33:32 +12:00
stddev.rs Test command names and search terms for redundancy (#6380) 2022-08-24 11:16:47 +02:00
sum.rs Added search terms to math commands (#5224) 2022-04-19 09:33:32 +12:00
utils.rs Revert "Add support for optional list stream output formatting (#6325)" (#6454) 2022-08-31 18:09:40 -05:00
variance.rs Test command names and search terms for redundancy (#6380) 2022-08-24 11:16:47 +02:00