Skip to content

Commit

Permalink
fix: doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek committed Sep 8, 2023
1 parent a4732cc commit 1092076
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion abci/src/tracing_span.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ macro_rules! block_span {
/// # Examples
///
/// ```
/// let request = Value::Info(RequestInfo::new());
/// # use tenderdash_proto::abci::{RequestInfo, request};
/// # use tenderdash_abci::tracing_span::span;
///
/// let request = request::Value::Info(RequestInfo::default());
/// let span = span(request);
/// ```
pub fn span<T>(request: T) -> tracing::span::EnteredSpan
Expand Down

0 comments on commit 1092076

Please sign in to comment.