chore: backport #2126 (#2127)

This commit is contained in:
David Barsky 2022-05-16 13:24:43 -04:00 committed by GitHub
parent db738eccb7
commit f90b4dc97a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -442,7 +442,7 @@ where
}
/// Sets whether or not the [thread ID] of the current thread is displayed
/// when formatting events
/// when formatting events.
///
/// [thread ID]: std::thread::ThreadId
pub fn with_thread_ids(self, display_thread_ids: bool) -> Layer<S, N, format::Format<L, T>, W> {
@ -453,7 +453,7 @@ where
}
/// Sets whether or not the [name] of the current thread is displayed
/// when formatting events
/// when formatting events.
///
/// [name]: std::thread#naming-threads
pub fn with_thread_names(

View File

@ -748,7 +748,7 @@ impl<F, T> Format<F, T> {
}
/// Sets whether or not the [thread ID] of the current thread is displayed
/// when formatting events
/// when formatting events.
///
/// [thread ID]: std::thread::ThreadId
pub fn with_thread_ids(self, display_thread_id: bool) -> Format<F, T> {
@ -759,7 +759,7 @@ impl<F, T> Format<F, T> {
}
/// Sets whether or not the [name] of the current thread is displayed
/// when formatting events
/// when formatting events.
///
/// [name]: std::thread#naming-threads
pub fn with_thread_names(self, display_thread_name: bool) -> Format<F, T> {

View File

@ -666,7 +666,7 @@ where
}
/// Sets whether or not the [name] of the current thread is displayed
/// when formatting events
/// when formatting events.
///
/// [name]: std::thread#naming-threads
pub fn with_thread_names(
@ -680,7 +680,7 @@ where
}
/// Sets whether or not the [thread ID] of the current thread is displayed
/// when formatting events
/// when formatting events.
///
/// [thread ID]: std::thread::ThreadId
pub fn with_thread_ids(