Skip to content

Commit

Permalink
test(tenderdash-abci): fix doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek committed Oct 3, 2023
1 parent 44f5070 commit b4f5a55
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions abci/src/tracing_span.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,12 @@ macro_rules! block_span {
/// # Examples
///
/// ```
/// # use tenderdash_proto::abci::{RequestInfo, Request};
/// # use tenderdash_proto::abci::{RequestInfo, Request, request::Value};
/// # use tenderdash_abci::tracing_span::span;
///
/// let request = Request::default();
/// let request = Request {
/// value: Some(Value::Info(Default::default())),
/// };
/// let span = span(&request);
/// ```
pub fn span(request: &abci::Request) -> tracing::span::EnteredSpan
Expand Down

0 comments on commit b4f5a55

Please sign in to comment.