File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ use syn::{
99
99
/// Instruments a function to create and enter a `tracing` [span] every time
100
100
/// the function is called.
101
101
///
102
+ /// Unless overriden, a span with `info` level will be generated.
102
103
/// The generated span's name will be the name of the function. Any arguments
103
104
/// to that function will be recorded as fields using [`fmt::Debug`]. To skip
104
105
/// recording a function's or method's argument, pass the argument's name
@@ -248,7 +249,6 @@ use syn::{
248
249
/// ```
249
250
/// Instead, you should manually rewrite any `Self` types as the type for
250
251
/// which you implement the trait: `#[instrument(fields(tmp = std::any::type_name::<Bar>()))]`.
251
-
252
252
///
253
253
/// [span]: https://docs.rs/tracing/latest/tracing/span/index.html
254
254
/// [`tracing`]: https://github.com/tokio-rs/tracing
You can’t perform that action at this time.
0 commit comments