Skip to content

Commit 1e73185

Browse files
author
Robert Read
committed
Fix cargo fmt
1 parent 48c0fb5 commit 1e73185

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/lib.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,8 @@ mod sealed {
323323
#[cfg_attr(quicrpc_docsrs, doc(cfg(all(feature = "spans", feature = "rpc"))))]
324324
pub mod span_propagation {
325325
use serde::{Deserialize, Serialize};
326-
use std::collections::HashMap;
327326
use std::cell::RefCell;
327+
use std::collections::HashMap;
328328

329329
// Re-export for use in macro-generated code
330330
pub use tracing_opentelemetry::OpenTelemetrySpanExt;
@@ -2513,9 +2513,8 @@ pub mod rpc {
25132513
.map_err(|e| io::Error::new(io::ErrorKind::InvalidData, e))?;
25142514

25152515
#[cfg(not(all(feature = "spans", feature = "rpc")))]
2516-
let (_span_ctx, msg): (Option<()>, R) =
2517-
postcard::from_bytes(&buf)
2518-
.map_err(|e| io::Error::new(io::ErrorKind::InvalidData, e))?;
2516+
let (_span_ctx, msg): (Option<()>, R) = postcard::from_bytes(&buf)
2517+
.map_err(|e| io::Error::new(io::ErrorKind::InvalidData, e))?;
25192518

25202519
// Store span context in thread-local for use by with_remote_channels
25212520
#[cfg(all(feature = "spans", feature = "rpc"))]

0 commit comments

Comments
 (0)