Skip to content

Commit

Permalink
mock: document public API in collector module
Browse files Browse the repository at this point in the history
There has been interest around publishing `tracing-mock` to crates.io
for some time. In order to make this possible, documentation and some
code clean up is needed.

This change adds documentation to the collector module itself and to all the
public APIs in the module. This includes doctests on all the methods
that serve as examples.

Additionally the implementation for the `Expect` struct has been moved
into the module with the definition, this was missed in #2369.
  • Loading branch information
hds committed Nov 16, 2022
1 parent db84302 commit 6905abb
Show file tree
Hide file tree
Showing 2 changed files with 491 additions and 68 deletions.
Loading

0 comments on commit 6905abb

Please sign in to comment.