mirror of
https://github.com/tokio-rs/tracing.git
synced 2025-09-30 22:40:34 +00:00
Fix typos. (#128)
This commit is contained in:
parent
6f6cbb634e
commit
9936b55a61
@ -362,7 +362,7 @@ with the appropriate reason to keep the conversation flow concise and relevant.
|
||||
Be aware that *how* you communicate requests and reviews in your feedback can
|
||||
have a significant impact on the success of the Pull Request. Yes, we may land
|
||||
a particular change that makes `tracing` better, but the individual might
|
||||
just notwant to have anything to do with `tracing` ever again. The goal is
|
||||
just not want to have anything to do with `tracing` ever again. The goal is
|
||||
not just having good code.
|
||||
|
||||
### Abandoned or Stalled Pull Requests
|
||||
|
@ -74,7 +74,7 @@ pub trait Subscriber: 'static {
|
||||
/// that subscriber returns `Interest::always` from `register_callsite`, then
|
||||
/// the filter will not be re-evaluated once it has been applied to a given
|
||||
/// set of metadata. Thus, the counter will not be incremented, and the span
|
||||
/// or event that correspands to the metadata will never be `enabled`.
|
||||
/// or event that corresponds to the metadata will never be `enabled`.
|
||||
///
|
||||
/// `Subscriber`s that need to change their filters occasionally should call
|
||||
/// [`rebuild_interest_cache`] to re-evaluate `register_callsite` for all
|
||||
|
@ -8,8 +8,8 @@ use tracing_core::{
|
||||
|
||||
#[test]
|
||||
fn metadata_macro_api() {
|
||||
// This test should catch any inadvertant breaking changes
|
||||
// caused bu changes to the macro.
|
||||
// This test should catch any inadvertent breaking changes
|
||||
// caused by changes to the macro.
|
||||
struct TestCallsite;
|
||||
|
||||
impl Callsite for TestCallsite {
|
||||
|
@ -2,7 +2,7 @@
|
||||
//! subscriber.
|
||||
//!
|
||||
//! This subscriber implements a tree-structured logger similar to
|
||||
//! the "compact" formatter in [`slog-term`]. The demo mimicks the
|
||||
//! the "compact" formatter in [`slog-term`]. The demo mimics the
|
||||
//! example output in the screenshot in the [`slog` README].
|
||||
//!
|
||||
//! Note that this logger isn't ready for actual production use.
|
||||
|
@ -2,7 +2,7 @@
|
||||
//! subscriber.
|
||||
//!
|
||||
//! This subscriber implements a tree-structured logger similar to
|
||||
//! the "compact" formatter in [`slog-term`]. The demo mimicks the
|
||||
//! the "compact" formatter in [`slog-term`]. The demo mimics the
|
||||
//! example output in the screenshot in the [`slog` README].
|
||||
//!
|
||||
//! Note that this logger isn't ready for actual production use.
|
||||
|
@ -2,7 +2,7 @@
|
||||
// can't exist in the same file with other tests that add subscribers to the
|
||||
// registry. The registry was changed so that each time a new dispatcher is
|
||||
// added all filters are re-evaluated. The tests being run only in separate
|
||||
// threads with shared global state lets them interfere with eachother
|
||||
// threads with shared global state lets them interfere with each other
|
||||
|
||||
#[macro_use]
|
||||
extern crate tracing;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// cant exist in the same file with other tests that add subscribers to the
|
||||
// registry. The registry was changed so that each time a new dispatcher is
|
||||
// added all filters are re-evaluated. The tests being run only in separate
|
||||
// threads with shared global state lets them interfere with eachother
|
||||
// threads with shared global state lets them interfere with each other
|
||||
|
||||
#[macro_use]
|
||||
extern crate tracing;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// cant exist in the same file with other tests that add subscribers to the
|
||||
// registry. The registry was changed so that each time a new dispatcher is
|
||||
// added all filters are re-evaluated. The tests being run only in separate
|
||||
// threads with shared global state lets them interfere with eachother
|
||||
// threads with shared global state lets them interfere with each other
|
||||
|
||||
#[macro_use]
|
||||
extern crate tracing;
|
||||
|
@ -689,8 +689,8 @@ fn field_shorthand_only() {
|
||||
|
||||
#[test]
|
||||
fn callsite_macro_api() {
|
||||
// This test should catch any inadvertant breaking changes
|
||||
// caused bu changes to the macro.
|
||||
// This test should catch any inadvertent breaking changes
|
||||
// caused by changes to the macro.
|
||||
let _callsite = callsite! {
|
||||
name: "test callsite",
|
||||
kind: tracing::metadata::Kind::EVENT,
|
||||
|
Loading…
x
Reference in New Issue
Block a user