Skip to content

Apply nightly clippy lints#9654

Merged
sholderbach merged 3 commits intonushell:mainfrom
sholderbach:clippy-cleanup
Jul 11, 2023
Merged

Apply nightly clippy lints#9654
sholderbach merged 3 commits intonushell:mainfrom
sholderbach:clippy-cleanup

Conversation

@sholderbach
Copy link
Copy Markdown
Member

Description

- A new one is the removal of unnecessary `#` in raw strings without `"`
inside.
  - https://rust-lang.github.io/rust-clippy/master/index.html#/needless_raw_string_hashes
- The automatically applied removal of `.into_iter()` touched several
places where nushell#9648 will change to the use of the record API.
If necessary I can remove them @IanManske to avoid churn with this PR.
- Manually applied `.try_fold` in two places
- Removed a dead `if`
@IanManske
Copy link
Copy Markdown
Member

Thanks @sholderbach, I think this should be fine? The Record PR touches a lot of places, so there might have to be some merging/rebasing at the end anyways.

@sholderbach sholderbach merged commit bd00328 into nushell:main Jul 11, 2023
@sholderbach sholderbach deleted the clippy-cleanup branch July 11, 2023 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants