Skip to content

Commit

Permalink
tracing: prepare to release v0.1.24 (tokio-rs#1244)
Browse files Browse the repository at this point in the history
### Fixed

- **attributes**: Compiler error when using `#[instrument(err)]` on
  functions which return `impl Trait` ([tokio-rs#1236])
- Fixed broken match arms in event macros ([tokio-rs#1239])
- Documentation improvements ([tokio-rs#1232])

Thanks to @bkchr and @lfranke for contributing to this release!

[tokio-rs#1236]: tokio-rs#1236
[tokio-rs#1239]: tokio-rs#1239
[tokio-rs#1232]: tokio-rs#1232

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
  • Loading branch information
hawkw authored and kaffarell committed May 22, 2024
1 parent a46447e commit cb8a4de
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
15 changes: 15 additions & 0 deletions tracing/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# 0.1.24 (February 17, 2021)

### Fixed

- **attributes**: Compiler error when using `#[instrument(err)]` on functions
which return `impl Trait` ([#1236])
- Fixed broken match arms in event macros ([#1239])
- Documentation improvements ([#1232])

Thanks to @bkchr and @lfranke for contributing to this release!

[#1236]: https://github.com/tokio-rs/tracing/pull/1236
[#1239]: https://github.com/tokio-rs/tracing/pull/1239
[#1232]: https://github.com/tokio-rs/tracing/pull/1232

# 0.1.23 (February 4, 2021)

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions tracing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ my_future
is as long as the future's.

The second, and preferred, option is through the
[`#[instrument]`](https://docs.rs/tracing/0.1.23/tracing/attr.instrument.html)
[`#[instrument]`](https://docs.rs/tracing/0.1.24/tracing/attr.instrument.html)
attribute:

```rust
Expand Down Expand Up @@ -292,7 +292,7 @@ span.in_scope(|| {
// Dropping the span will close it, indicating that it has ended.
```

The [`#[instrument]`](https://docs.rs/tracing/0.1.23/tracing/attr.instrument.html) attribute macro
The [`#[instrument]`](https://docs.rs/tracing/0.1.24/tracing/attr.instrument.html) attribute macro
can reduce some of this boilerplate:

```rust
Expand Down

0 comments on commit cb8a4de

Please sign in to comment.