From 386779448365f5bb8620f404ad485b5a82a261be Mon Sep 17 00:00:00 2001 From: la10736 Date: Thu, 30 May 2024 13:41:03 +0200 Subject: [PATCH] Fixed docs --- CHANGELOG.md | 4 ++-- README.md | 4 ++-- rstest/src/lib.rs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 463ea817..f1ca2b7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## Unreleased +## [0.20.0] 2024/5/30 ### Changed @@ -17,7 +17,7 @@ See [#241](https://github.com/la10736/rstest/issues/241) for more details. Thank [#241](https://github.com/la10736/rstest/issues/241) for more details. - [`PathBuf`](https://doc.rust-lang.org/std/path/struct.PathBuf.html) does no longer need to be in scope when using `#[files]` (see [#242](https://github.com/la10736/rstest/pull/242)) -- `#[from(now::accept::also::path::for::fixture)]` See [#246](https://github.com/la10736/rstest/issues/246) +- `#[from(now::accept::also::path::for::fixture)]` See [#246](https://github.com/la10736/rstest/issues/246) for more details ## [0.19.0] 2024/4/9 diff --git a/README.md b/README.md index e83d6792..82fec419 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ following lines to your `Cargo.toml` file: ```toml [dev-dependencies] -rstest = "0.19.0" +rstest = "0.20.0" ``` ### Fixture @@ -342,7 +342,7 @@ fn single(once_fixture: &i32) { } ``` -## Local timeout and `#[by_ref]` attribute +## Local lifetime and `#[by_ref]` attribute In some cases you may want to use a local lifetime for some arguments of your test. In these cases you can use the `#[by_ref]` attribute then use the reference instead diff --git a/rstest/src/lib.rs b/rstest/src/lib.rs index 6e8356c9..61443f56 100644 --- a/rstest/src/lib.rs +++ b/rstest/src/lib.rs @@ -1103,7 +1103,7 @@ pub use rstest_macros::fixture; /// in this case the `#[actix_rt::test]` attribute will replace the standard `#[test]` /// attribute. /// -/// ## Local timeout and `#[by_ref]` attribute +/// ## Local lifetime and `#[by_ref]` attribute /// /// In some cases you may want to use a local lifetime for some arguments of your test. /// In these cases you can use the `#[by_ref]` attribute then use the reference instead