From cb8a4de2a0c26502331b348db1564dd2c1938c80 Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Wed, 17 Feb 2021 15:35:20 -0800 Subject: [PATCH] tracing: prepare to release v0.1.24 (#1244) ### 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 Signed-off-by: Eliza Weisman --- tracing/CHANGELOG.md | 15 +++++++++++++++ tracing/README.md | 4 ++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/tracing/CHANGELOG.md b/tracing/CHANGELOG.md index a7a4237c4..2e139597f 100644 --- a/tracing/CHANGELOG.md +++ b/tracing/CHANGELOG.md @@ -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 diff --git a/tracing/README.md b/tracing/README.md index 4c843459f..972847c99 100644 --- a/tracing/README.md +++ b/tracing/README.md @@ -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 @@ -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