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

small chores #116

Merged
merged 6 commits into from
Jul 29, 2024
Merged

small chores #116

merged 6 commits into from
Jul 29, 2024

Conversation

cpu
Copy link
Member

@cpu cpu commented Jul 29, 2024

cpu added 6 commits July 29, 2024 09:41
23.11 -> 24.05, the latest stable at the time of writing.
Takes latest github:hercules-ci/flake-parts input.
Updates stable/nightly toolchains to latest.
Fixes clippy findings of the form:

```
error: doc list item missing indentation
  --> rustls-platform-verifier/src/tests/verification_real_world/mod.rs:17:5
   |
17 | //! with the measures mentioned in the next paragraphs, the operating system
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
   = note: `-D clippy::doc-lazy-continuation` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::doc_lazy_continuation)]`
```
```
error: the borrowed expression implements the required traits
   --> rustls-platform-verifier/src/verification/android.rs:193:53
    |
193 |                         JValue::from(env.new_string(&server_name.to_str())?),
    |                                                     ^^^^^^^^^^^^^^^^^^^^^ help: change this to: `server_name.to_str()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
    = note: `-D clippy::needless-borrows-for-generic-args` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::needless_borrows_for_generic_args)]`
```
@cpu cpu self-assigned this Jul 29, 2024
@cpu cpu requested a review from complexspaces July 29, 2024 14:08
Copy link
Collaborator

@complexspaces complexspaces left a comment

Choose a reason for hiding this comment

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

Thanks for the tidyup.

@cpu cpu merged commit 3edb4d2 into rustls:main Jul 29, 2024
18 checks passed
@cpu cpu deleted the cpu-small-chores_dev branch July 29, 2024 16:04
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