Skip to content

Commit 4af3e6d

Browse files
sypharGuillaumeGomez
authored andcommitted
Revert "ensure current tracing span is passed into streaming html rewrite"
This reverts commit bfdb522.
1 parent bfdb522 commit 4af3e6d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/utils/html.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,7 @@ pub(crate) fn rewrite_rustdoc_html_stream<R>(
4242
where
4343
R: AsyncRead + Unpin + 'static,
4444
{
45-
let span = tracing::info_span!("rewrite_rustdoc_html_stream");
46-
4745
stream!({
48-
let _guard = span.enter();
49-
5046
let (input_sender, input_receiver) = std::sync::mpsc::channel::<Option<Vec<u8>>>();
5147
let (result_sender, mut result_receiver) = tokio::sync::mpsc::unbounded_channel::<Bytes>();
5248

0 commit comments

Comments
 (0)