We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 282a975 commit 7690e04Copy full SHA for 7690e04
1 file changed
crates/stackable-telemetry/src/tracing/mod.rs
@@ -60,6 +60,7 @@ pub enum Error {
60
},
61
}
62
63
+#[rustfmt::skip]
64
/// Easily initialize a set of pre-configured [`Subscriber`][1] layers.
65
///
66
/// # Usage
@@ -83,11 +84,12 @@ pub enum Error {
83
84
/// #[tokio::main]
85
/// async fn main() -> Result<(), Error> {
86
/// let _tracing_guard = Tracing::builder() // < Scope starts here
-/// .service_name("test")
87
-/// .build()
88
-/// .init()?;
89
-/// tracing::info!("log a message");
90
-/// Ok(()) // < Scope ends here, guard is dropped
+/// .service_name("test") // |
+/// .build() // |
+/// .init()?; // |
+/// // |
91
+/// tracing::info!("log a message"); // |
92
+/// Ok(()) // < Scope ends here, guard is dropped
93
/// }
94
/// ```
95
0 commit comments