nushell/crates/nu-parser/src
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
..
deparse.rs fix arg parse (#5754) 2022-06-11 20:52:31 +12:00
errors.rs prevent alias name from being filesize or number (#6595) 2022-09-28 17:08:38 -05:00
flatten.rs Fix scoped overlay use not finding a module (#6474) 2022-09-04 18:36:42 +03:00
known_external.rs Change how to identify custom comamnd (#6187) 2022-08-02 18:40:07 -05:00
lex.rs Add raw strings, use raw strings for env (#5090) 2022-04-05 08:42:26 +12:00
lib.rs fix arg parse (#5754) 2022-06-11 20:52:31 +12:00
lite_parse.rs Remove statements, replaced by pipelines (#4482) 2022-02-15 14:31:14 -05:00
parse_keywords.rs let alias list aliases (#6717) 2022-10-14 21:51:44 +02:00
parser.rs Remove unnecessary #[allow(...)] annotations (#6870) 2022-10-24 20:12:16 +02:00
type_check.rs make ++ append lists (#6766) 2022-10-20 23:28:18 +13:00