Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lints and formatting #5658

Merged
merged 2 commits into from
Jan 5, 2024
Merged

Lints and formatting #5658

merged 2 commits into from
Jan 5, 2024

Conversation

Serock3
Copy link
Contributor

@Serock3 Serock3 commented Jan 5, 2024

Fix Clippy lints and format with +nightly.

These lints where missed since Clippy doesn't check tests by default, it needs the --all-targets flag. This is fixed in #5659.


This change is Reviewable

@Serock3 Serock3 requested a review from dlon January 5, 2024 13:35
@Serock3 Serock3 force-pushed the lints_and_formatting branch 2 times, most recently from f463d1b to 135bac0 Compare January 5, 2024 14:44
@Serock3 Serock3 mentioned this pull request Jan 5, 2024
Copy link
Member

@dlon dlon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 3 of 3 files at r1, 20 of 20 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@dlon dlon force-pushed the lints_and_formatting branch from 135bac0 to 981821f Compare January 5, 2024 16:00
These lints where missed because the problems were inside tests.

Note that "targets" does not refer to OS/architectures.
```
> cargo build --help
...
Target Selection:
      --lib               Build only this package's library
      --bins              Build all binaries
      --bin [<NAME>]      Build only the specified binary
      --examples          Build all examples
      --example [<NAME>]  Build only the specified example
      --tests             Build all test targets
      --test [<NAME>]     Build only the specified test target
      --benches           Build all bench targets
      --bench [<NAME>]    Build only the specified bench target
      --all-targets       Build all targets
```
@dlon dlon force-pushed the lints_and_formatting branch from fa7eca7 to 5131624 Compare January 5, 2024 16:02
@dlon dlon merged commit b291200 into main Jan 5, 2024
30 checks passed
@dlon dlon deleted the lints_and_formatting branch January 5, 2024 16:03
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