Skip to content

Commit

Permalink
Better crate doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
MOZGIII committed Sep 15, 2020
1 parent 339dc25 commit 3f5626e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions metrics-tracing-context/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
//! First, set up `tracing` and `metrics` crates:
//!
//! ```rust
//! # use metrics_util::{layers::Layer, DebugValue, DebuggingRecorder, MetricKind, Snapshotter};
//! # use tracing_subscriber::{layer::SubscriberExt, Registry};
//! # use metrics_util::{DebugValue, DebuggingRecorder, MetricKind, Snapshotter};
//! # use tracing_subscriber::Registry;
//! use metrics_util::layers::Layer;
//! use tracing_subscriber::layer::SubscriberExt;
//! use metrics_tracing_context::{MetricsLayer, TracingContextLayer};
//!
//! // Prepare tracing.
Expand Down

0 comments on commit 3f5626e

Please sign in to comment.