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 05aca984456438dc05b1fe89221c4305cb5d6472.

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
..
2022-10-20 23:28:18 +13:00
2022-08-11 11:54:54 -05:00
2022-09-11 11:48:27 +03:00
2022-09-11 11:48:27 +03:00
2022-10-14 21:51:44 +02:00
2022-09-05 16:41:06 +02:00
2022-09-05 16:41:06 +02:00
2022-02-07 14:54:06 -05:00
2022-02-07 14:54:06 -05:00
2022-09-01 08:32:56 +12:00
2022-02-07 14:54:06 -05:00
2022-10-19 07:13:36 +13:00
2022-09-05 16:41:06 +02:00
2022-09-11 11:48:27 +03:00
2022-02-17 06:40:24 -05:00
2022-09-05 16:41:06 +02:00
2022-02-07 14:54:06 -05:00
2022-09-11 11:48:27 +03:00
2022-02-16 12:24:45 -06:00
2022-05-18 20:47:26 -05:00
2022-03-19 10:12:54 +13:00
2022-07-04 06:31:50 +12:00
2022-02-07 14:54:06 -05:00
2022-02-07 14:54:06 -05:00
2022-09-25 19:52:43 +03:00
2022-09-11 11:48:27 +03:00
2022-05-13 06:47:11 -05:00
2022-09-11 11:48:27 +03:00
2022-09-11 11:48:27 +03:00
2022-02-07 14:54:06 -05:00
2022-02-07 14:54:06 -05:00
2022-02-07 14:54:06 -05:00
2022-10-21 18:02:25 +02:00
2022-09-28 13:48:34 +13:00
2022-03-19 10:12:54 +13:00
2022-03-18 06:55:02 +13:00
2022-03-24 16:42:41 +13:00
2022-02-22 11:32:29 -05:00
2022-09-11 11:48:27 +03:00