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

Fix clippy errors #1423

Merged
merged 3 commits into from
May 13, 2024
Merged

Fix clippy errors #1423

merged 3 commits into from
May 13, 2024

Conversation

dscho
Copy link
Contributor

@dscho dscho commented May 12, 2024

These errors puzzled me over in #1422, and I split out this PR to fix them.

dscho added 3 commits May 13, 2024 01:15
The current clippy version (v0.1.78) says "you should put bare URLs
between `<`/`>` or make a proper Markdown link" and refers to
https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Clippy v0.1.78 complains about the IPv6 network mask, insisting that it
is missing backticks. So backticks it gets.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Clippy v0.1.78 identifies this as dead code. However, further down in
the same file, there is clearly a user:

  impl Handler<Result, Result> for Add {

This might be yet another incarnation of
rust-lang/rust#56750

Let's just mark it as intentionally dead-code, even if this is untrue,
to make clippy happy again.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@mre
Copy link
Member

mre commented May 13, 2024

Thanks!

@mre mre merged commit 975901d into lycheeverse:master May 13, 2024
7 checks passed
@mre
Copy link
Member

mre commented May 13, 2024

⭐ for the awesome commit message. 👍

@dscho dscho deleted the fix-clippy-errors branch May 13, 2024 17:27
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.

None yet

2 participants