docs(tvix/tracing): fix docstrings

Change-Id: Ibcdd50bfd20afd925a6f9eeacc436efdadbe5662
Reviewed-on: https://cl.tvl.fyi/c/depot/+/13255
Reviewed-by: Domen Kožar <domen@cachix.org>
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: Marijan Petričević <marijan.petricevic94@gmail.com>
Tested-by: BuildkiteCI
This commit is contained in:
Florian Klink 2025-03-13 10:23:00 +01:00 committed by clbot
parent 2036487de8
commit b8e3e3c828

View file

@ -7,7 +7,7 @@ use reqwest_tracing::{SpanBackendWithUrl, TracingMiddleware};
/// If otlp feature is disabled, this will not insert a `traceparent` into the header. It will
/// basically function as a noop.
///
/// `traceparent` => https://www.w3.org/TR/trace-context/#trace-context-http-headers-format
/// `traceparent` => <https://www.w3.org/TR/trace-context/#trace-context-http-headers-format>
pub fn tracing_middleware() -> TracingMiddleware<SpanBackendWithUrl> {
TracingMiddleware::<SpanBackendWithUrl>::new()
}