Skip to content

Conversation

@Veetaha
Copy link

@Veetaha Veetaha commented Oct 22, 2020

I've been seeing this warning from tracing-subscriber for quite a long time.
Running cargo doc gives this:

warning: could not parse code block as Rust code
  --> /home/veetaha/.cargo/registry/src/github.zerozr99.workers.dev-1ecc6299db9ec823/tracing-subscriber-0.2.13/src/fmt/format/json.rs:30:5
   |
30 |   /// ```ignore,json
   |  _____^
31 | | /// {
32 | | ///     "timestamp":"Feb 20 11:28:15.096",
33 | | ///     "level":"INFO",
...  |
38 | | /// }
39 | | /// ```
   | |_______^
   |
   = note: error from rustc: unterminated double quote string

I guess it's me who dares fix this then :D

I've been seeing this warning from `tracing-subscriber` for quite a long time.
Running `cargo doc` gives this:
```
warning: could not parse code block as Rust code
  --> /home/veetaha/.cargo/registry/src/github.zerozr99.workers.dev-1ecc6299db9ec823/tracing-subscriber-0.2.13/src/fmt/format/json.rs:30:5
   |
30 |   /// ```ignore,json
   |  _____^
31 | | /// {
32 | | ///     "timestamp":"Feb 20 11:28:15.096",
33 | | ///     "level":"INFO",
...  |
38 | | /// }
39 | | /// ```
   | |_______^
   |
   = note: error from rustc: unterminated double quote string
```

I guess it's me who dares fix this then :D
@Veetaha Veetaha requested review from a team and hawkw as code owners October 22, 2020 10:54
Copy link
Member

@davidbarsky davidbarsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! This has been a bit annoying :)

@davidbarsky davidbarsky merged commit b7b14df into tokio-rs:master Oct 22, 2020
dvdplm added a commit to dvdplm/tracing that referenced this pull request Oct 23, 2020
* upstream/master:
  subscriber: update sharded-slab to 0.1, pool hashmap allocations (tokio-rs#1062)
  subscriber: remove deprecated type, structs, and methods tokio-rs#1030
  core: rename Subscriber to Collect (tokio-rs#1015)
  chore: fix rustdoc warning in tracing-subscriber (tokio-rs#1061)
dvdplm added a commit to dvdplm/tracing that referenced this pull request Oct 23, 2020
* dp-target-is-cow:
  subscriber: update sharded-slab to 0.1, pool hashmap allocations (tokio-rs#1062)
  subscriber: remove deprecated type, structs, and methods tokio-rs#1030
  core: rename Subscriber to Collect (tokio-rs#1015)
  chore: fix rustdoc warning in tracing-subscriber (tokio-rs#1061)
dvdplm added a commit to dvdplm/tracing that referenced this pull request Oct 23, 2020
…spatch-as-owned-tokio-rs#455

* upstream/master:
  subscriber: update sharded-slab to 0.1, pool hashmap allocations (tokio-rs#1062)
  subscriber: remove deprecated type, structs, and methods tokio-rs#1030
  core: rename Subscriber to Collect (tokio-rs#1015)
  chore: fix rustdoc warning in tracing-subscriber (tokio-rs#1061)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants