diff --git a/tracing-core/src/dispatcher.rs b/tracing-core/src/dispatcher.rs index d37f5fb387..440228ff88 100644 --- a/tracing-core/src/dispatcher.rs +++ b/tracing-core/src/dispatcher.rs @@ -113,8 +113,9 @@ //! //!
-//! Note:the thread-local scoped dispatcherwith_default
-//! requires the Rust standard library.no_std
users should use +//! Note:the thread-local scoped dispatcher +//! (with_default
) requires the +//! Rust standard library.no_std
users should use //!set_global_default
//! instead. //!
try_close
/// method is functionally identical, but returns true
if the span is now closed.
/// It should be used instead of this method.
- ///
+ ///
///
/// [span ID]: ../span/struct.Id.html
/// [`Subscriber`]: ../subscriber/trait.Subscriber.html
diff --git a/tracing-core/src/field.rs b/tracing-core/src/field.rs
index 7ead482cdc..aa279eea10 100644
--- a/tracing-core/src/field.rs
+++ b/tracing-core/src/field.rs
@@ -175,7 +175,7 @@ pub struct Iter {
/// /// Note: Therecord_error
trait method is only -/// available when the Rust standard library is present, as it requires the ` +/// available when the Rust standard library is present, as it requires the ///std::error::Error
trait. ///
/// Note: This is only enabled when the Rust standard library is /// present. @@ -622,7 +621,6 @@ impl FieldSet { ///ⓘNote///
/// Note: If- ///field
shares a name with a field /// in thisFieldSet
, but was created by aFieldSet
@@ -630,8 +628,7 @@ impl FieldSet { /// contain it. This is so that if two separate span callsites define a field /// named "foo", theField
corresponding to "foo" for each /// of those callsites are not equivalent. - ///
/// Note: Span IDs must be greater than zero.
/// Note: This method (and ///+ ///Layer::enabled
) determine whether a span or event is @@ -229,7 +228,7 @@ where ///on_enter
, ///on_exit
, and other notification /// methods. - ///
/// Note: This method (and ///+ ///Layer::register_callsite
) determine whether a span or event is @@ -282,7 +280,7 @@ where ///on_enter
, ///on_exit
, and other notification /// methods. - ///
/// Note: This requires the wrapped subscriber to implement the ///+ ///LookupSpan
trait. ///Layer
implementations that wish to use this /// function can bound theirSubscriber
type parameter with: - ///
/// Note: This requires the wrapped subscriber to implement the ///+ ///LookupSpan
trait. ///Layer
implementations that wish to use this /// function can bound theirSubscriber
type parameter with: - ///
/// Note: This requires the wrapped subscriber to implement the ///+ ///LookupSpan
trait. ///Layer
implementations that wish to use this /// function can bound theirSubscriber
type parameter with: - ///
/// Note: This requires the wrapped subscriber to implement the ///+ ///LookupSpan
trait. ///Layer
implementations that wish to use this /// function can bound theirSubscriber
type parameter with: - ///
/// Note: This requires the wrapped subscriber to implement the ///+ ///LookupSpan
trait. ///Layer
implementations that wish to use this /// function can bound theirSubscriber
type parameter with: - ///
/// Note: users of the LookupSpan trait should
/// typically call the span
method rather
/// than this method. The span
method is implemented by
/// calling span_data
, but returns a reference which is
/// capable of performing more sophisiticated queries.
- ///
+ ///