Skip to content

Commit

Permalink
fixup! Reduce dependencies on futures
Browse files Browse the repository at this point in the history
  • Loading branch information
jwilm committed May 5, 2022
1 parent 6f6ed76 commit b17177e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opentelemetry-sdk/src/trace/span_processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -739,8 +739,8 @@ mod tests {
fn export(
&mut self,
_batch: Vec<SpanData>,
) -> futures::future::BoxFuture<'static, ExportResult> {
use futures::FutureExt;
) -> futures_util::future::BoxFuture<'static, ExportResult> {
use futures_util::FutureExt;
Box::pin((self.delay_fn)(self.delay_for).map(|_| Ok(())))
}
}
Expand Down

0 comments on commit b17177e

Please sign in to comment.