mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[PR #288] [MERGED] clippy fixes #1343
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#1343
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/288
Author: @little-dude
Created: 11/19/2017
Status: ✅ Merged
Merged: 11/23/2017
Merged by: @bluejekyll
Base:
master← Head:clippy📝 Commits (1)
6fa9d4aclippy fixes for client and proto crates📊 Changes
62 files changed (+445 additions, -384 deletions)
View changed files
📝
.travis.yml(+5 -3)📝
client/src/client/client.rs(+3 -3)📝
client/src/client/memoize_client_handle.rs(+1 -1)📝
client/src/client/rc_future.rs(+5 -5)📝
client/src/error/client_error.rs(+5 -5)📝
client/src/rr/dnssec/key_format.rs(+26 -26)📝
client/src/rr/dnssec/keypair.rs(+9 -19)📝
client/src/rr/dnssec/signer.rs(+2 -2)📝
client/src/serialize/txt/master.rs(+13 -11)📝
client/src/serialize/txt/master_lex.rs(+22 -22)📝
client/src/serialize/txt/rdata_parsers/a.rs(+1 -1)📝
client/src/serialize/txt/rdata_parsers/aaaa.rs(+1 -1)📝
client/src/serialize/txt/rdata_parsers/mx.rs(+2 -2)📝
client/src/serialize/txt/rdata_parsers/name.rs(+1 -1)📝
client/src/serialize/txt/rdata_parsers/soa.rs(+7 -7)📝
client/src/serialize/txt/rdata_parsers/srv.rs(+4 -4)📝
client/src/serialize/txt/rdata_parsers/tlsa.rs(+1 -1)📝
integration-tests/tests/client_future_tests.rs(+10 -10)📝
integration-tests/tests/secure_client_handle_tests.rs(+1 -1)📝
proto/src/dns_handle.rs(+5 -5)...and 42 more files
📄 Description
I'm interested in starting contributing to trust-dns, and clippy is a good way to get a little bit familiar with the codebase, so here we go :)
With these fixes the client builds with clippy with no warning:
Let me know if you're interested in more clippy fixes. While on topic of cosmetic changes, I noticed you use
try!. Do you plan to move to?at some point or do you prefertry!? If so I can make a PR for that.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.