mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 11:15:54 +03:00
[PR #1205] [CLOSED] Clippy fixes #2078
Labels
No labels
blocked
breaking-change
bug
bug:critical
bug:tests
cleanup
compliance
compliance
compliance
crate:all
crate:client
crate:native-tls
crate:proto
crate:recursor
crate:resolver
crate:resolver
crate:rustls
crate:server
crate:util
dependencies
docs
duplicate
easy
easy
enhance
enhance
enhance
feature:dns-over-https
feature:dns-over-quic
feature:dns-over-tls
feature:dnsssec
feature:global_lb
feature:mdns
feature:tsig
features:edns
has workaround
ops
perf
platform:WASM
platform:android
platform:fuchsia
platform:linux
platform:macos
platform:windows
pull-request
question
test
tools
tools
trust
unclear
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hickory-dns#2078
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hickory-dns/hickory-dns/pull/1205
Author: @jonasbb
Created: 9/16/2020
Status: ❌ Closed
Base:
main← Head:clippy-fixes📝 Commits (3)
e2f56d4Fix some clippy warnings1396915Fix clippy::min_max89866eaFix clippy::derive_ord_xor_partial_ord📊 Changes
18 files changed (+66 additions, -116 deletions)
View changed files
📝
bin/src/named.rs(+3 -5)📝
crates/client/src/serialize/txt/rdata_parsers/openpgpkey.rs(+3 -3)📝
crates/client/src/serialize/txt/rdata_parsers/tlsa.rs(+2 -2)📝
crates/client/src/serialize/txt/zone.rs(+1 -1)📝
crates/client/src/serialize/txt/zone_lex.rs(+1 -1)📝
crates/https/src/https_server.rs(+1 -1)📝
crates/https/src/request.rs(+1 -1)📝
crates/proto/src/error.rs(+1 -4)📝
crates/proto/src/rr/domain/label.rs(+7 -7)📝
crates/proto/src/rr/rdata/caa.rs(+8 -39)📝
crates/proto/src/rr/record_type.rs(+1 -4)📝
crates/proto/src/rr/resource.rs(+13 -8)📝
crates/proto/src/rr/rr_set.rs(+1 -4)📝
crates/proto/src/serialize/binary/restrict.rs(+9 -9)📝
crates/proto/src/xfer/dns_response.rs(+6 -6)📝
crates/resolver/src/name_server/name_server_pool.rs(+1 -5)📝
crates/server/src/authority/error.rs(+3 -12)📝
crates/server/src/authority/zone_type.rs(+4 -4)📄 Description
This fixes some clippy warnings.
The first commit contains fixes which are machine applicable.
The second commit fixes a buffer sizing where min and max were switched leading to a constant size.
The last commit fixes a problem with the manual implementation of
PartialOrd.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.