We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87d4c99 commit e1f2d45Copy full SHA for e1f2d45
opentelemetry-zipkin/src/exporter/mod.rs
@@ -83,11 +83,11 @@ impl ZipkinExporterBuilder {
83
client,
84
self.collector_endpoint
85
.parse()
86
- .map_err(|err| ExporterBuildError::InvalidUri(err))?,
+ .map_err(ExporterBuildError::InvalidUri)?,
87
);
88
Ok(exporter)
89
} else {
90
- Err(ExporterBuildError::NoHttpClient.into())
+ Err(ExporterBuildError::NoHttpClient)
91
}
92
93
0 commit comments