File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
crates/stackable-telemetry/src/tracing Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ pub enum Error {
6060 } ,
6161}
6262
63+ #[ rustfmt:: skip]
6364/// Easily initialize a set of pre-configured [`Subscriber`][1] layers.
6465///
6566/// # Usage
@@ -83,11 +84,12 @@ pub enum Error {
8384/// #[tokio::main]
8485/// async fn main() -> Result<(), Error> {
8586/// let _tracing_guard = Tracing::builder() // < Scope starts here
86- /// .service_name("test")
87- /// .build()
88- /// .init()?;
89- /// tracing::info!("log a message");
90- /// Ok(()) // < Scope ends here, guard is dropped
87+ /// .service_name("test") // |
88+ /// .build() // |
89+ /// .init()?; // |
90+ /// // |
91+ /// tracing::info!("log a message"); // |
92+ /// Ok(()) // < Scope ends here, guard is dropped
9193/// }
9294/// ```
9395///
You can’t perform that action at this time.
0 commit comments