File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -106,16 +106,16 @@ pub enum ErrorKind {
106
106
#[ error( display = "Command failed {}" , _0) ]
107
107
CommandError ( CommandError ) ,
108
108
109
- /// Wrapper around `webpki::InvalidDNSNameError`.
110
- #[ error( display = "{}" , _0) ]
111
- DnsName ( #[ error( source) ] webpki:: InvalidDNSNameError ) ,
112
-
113
109
// `trust_dns` does not implement the `Error` trait on their errors, so we have to manually
114
110
// implement `From` rather than using the `source annotation.
115
111
/// Wrapper around `trust_dns_resolver::error::ResolveError`.
116
112
#[ error( display = "{}" , _0) ]
117
113
DnsResolve ( trust_dns_resolver:: error:: ResolveError ) ,
118
114
115
+ /// Wrapper around `webpki::InvalidDNSNameError`.
116
+ #[ error( display = "{}" , _0) ]
117
+ InvalidDnsName ( #[ error( source) ] webpki:: InvalidDNSNameError ) ,
118
+
119
119
/// A hostname could not be parsed.
120
120
#[ error( display = "Unable to parse hostname: {}" , hostname) ]
121
121
InvalidHostname { hostname : String } ,
You can’t perform that action at this time.
0 commit comments